Title: [127835] trunk/Source/WebCore
Revision
127835
Author
par...@webkit.org
Date
2012-09-07 00:03:34 -0700 (Fri, 07 Sep 2012)

Log Message

Build fix for WinCE after r127801.

* platform/graphics/wince/FontWinCE.cpp:
(WebCore::generateComponents):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (127834 => 127835)


--- trunk/Source/WebCore/ChangeLog	2012-09-07 06:29:36 UTC (rev 127834)
+++ trunk/Source/WebCore/ChangeLog	2012-09-07 07:03:34 UTC (rev 127835)
@@ -1,3 +1,10 @@
+2012-09-06  Patrick Gansterer  <par...@webkit.org>
+
+        Build fix for WinCE after r127801.
+
+        * platform/graphics/wince/FontWinCE.cpp:
+        (WebCore::generateComponents):
+
 2012-09-06  Alexander Pavlov  <apav...@chromium.org>
 
         [Chromium] Regression: Web Inspector tool-tips pixellated with --force-device-scale-factor=2

Modified: trunk/Source/WebCore/platform/graphics/wince/FontWinCE.cpp (127834 => 127835)


--- trunk/Source/WebCore/platform/graphics/wince/FontWinCE.cpp	2012-09-07 06:29:36 UTC (rev 127834)
+++ trunk/Source/WebCore/platform/graphics/wince/FontWinCE.cpp	2012-09-07 07:03:34 UTC (rev 127835)
@@ -145,7 +145,7 @@
             if (Font::treatAsSpace(run[i])) {
                 int add = 0;
                 if (i - start > 0) {
-                    components->append(TextRunComponent(run.characters() + start, i - start,
+                    components->append(TextRunComponent(run.characters16() + start, i - start,
                                                         run, font, offset));
                     offset += components->last().m_width + letterSpacing;
                 }
@@ -160,7 +160,7 @@
                 continue;
             }
             if (i - start > 0) {
-                components->append(TextRunComponent(run.characters() + start, i - start,
+                components->append(TextRunComponent(run.characters16() + start, i - start,
                                                     run,
                                                     font, offset));
                 offset += components->last().m_width + letterSpacing;
@@ -168,7 +168,7 @@
             start = i;
         }
         if (run.length() - start > 0) {
-            components->append(TextRunComponent(run.characters() + start, run.length() - start,
+            components->append(TextRunComponent(run.characters16() + start, run.length() - start,
                                                 run,
                                                 font, offset));
             offset += components->last().m_width;
@@ -179,7 +179,7 @@
         for (int i = 0; i < run.length(); ++i) {
             if (Font::treatAsSpace(run[i])) {
                 if (i - start > 0) {
-                    components->append(TextRunComponent(run.characters() + start, i - start,
+                    components->append(TextRunComponent(run.characters16() + start, i - start,
                                                         run,
                                                         font, offset));
                     offset += components->last().m_width;
@@ -198,7 +198,7 @@
             }
         }
         if (run.length() - start > 0) {
-            components->append(TextRunComponent(run.characters() + start, run.length() - start,
+            components->append(TextRunComponent(run.characters16() + start, run.length() - start,
                                                 run,
                                                 font, offset));
             offset += components->last().m_width;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to