Title: [119061] trunk/Source/WebCore
Revision
119061
Author
[email protected]
Date
2012-05-30 23:30:03 -0700 (Wed, 30 May 2012)

Log Message

Build fix for WinCE after r116723.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (119060 => 119061)


--- trunk/Source/WebCore/ChangeLog	2012-05-31 06:23:53 UTC (rev 119060)
+++ trunk/Source/WebCore/ChangeLog	2012-05-31 06:30:03 UTC (rev 119061)
@@ -1,3 +1,10 @@
+2012-05-30  Patrick Gansterer  <[email protected]>
+
+        Build fix for WinCE after r116723.
+
+        * platform/graphics/wince/FontWinCE.cpp:
+        (WebCore::TextRunComponent::TextRunComponent):
+
 2012-05-30  Kentaro Hara  <[email protected]>
 
         Implement CSSParser::determineNameInNamespace() as a helper function for CSSGrammar.y

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


--- trunk/Source/WebCore/platform/graphics/wince/FontWinCE.cpp	2012-05-31 06:23:53 UTC (rev 119060)
+++ trunk/Source/WebCore/platform/graphics/wince/FontWinCE.cpp	2012-05-31 06:30:03 UTC (rev 119061)
@@ -85,13 +85,15 @@
 };
 
 TextRunComponent::TextRunComponent(const UChar *start, int length, const TextRun& parentTextRun, const Font &font, int o)
-    : m_textRun(start, length, parentTextRun.allowTabs(), 0, 0
+    : m_textRun(start, length, 0, 0
         , parentTextRun.allowsTrailingExpansion() ? TextRun::AllowTrailingExpansion : TextRun::ForbidTrailingExpansion
         , parentTextRun.direction()
         , parentTextRun.directionalOverride())
     , m_offset(o)
     , m_spaces(0)
 {
+    m_textRun.setTabSize(parentTextRun.allowTabs(), parentTextRun.tabSize());
+
     WidthIterator it(&font, m_textRun);
     it.advance(m_textRun.length(), 0);
     m_width = it.m_runWidthSoFar;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to