Title: [116745] trunk/Source/WebKit2
Revision
116745
Author
morr...@google.com
Date
2012-05-11 03:26:21 -0700 (Fri, 11 May 2012)

Log Message

Unreviewed build fix attempt.

* WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:
(WebKit::WebPopupMenu::setUpPlatformData):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (116744 => 116745)


--- trunk/Source/WebKit2/ChangeLog	2012-05-11 09:55:19 UTC (rev 116744)
+++ trunk/Source/WebKit2/ChangeLog	2012-05-11 10:26:21 UTC (rev 116745)
@@ -1,3 +1,10 @@
+2012-05-11  Hajime Morrita  <morr...@chromium.org>
+
+        Unreviewed build fix attempt.
+
+        * WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:
+        (WebKit::WebPopupMenu::setUpPlatformData):
+
 2012-05-11  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [SOUP] Allow sending URI request data in chunks

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp (116744 => 116745)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp	2012-05-11 09:55:19 UTC (rev 116744)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp	2012-05-11 10:26:21 UTC (rev 116745)
@@ -115,11 +115,9 @@
 
         String itemText = m_popupClient->itemText(index);
 
-        unsigned length = itemText.length();
-        const UChar* string = itemText.characters();
         // FIXME: defaultWritingDirection should return a TextDirection not a Unicode::Direction.
         TextDirection direction = itemText.defaultWritingDirection() == WTF::Unicode::RightToLeft ? RTL : LTR;
-        TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, direction);
+        TextRun textRun(itemText, 0, 0, TextRun::AllowTrailingExpansion, direction);
 
         notSelectedBackingStoreContext->setFillColor(optionTextColor, ColorSpaceDeviceRGB);
         selectedBackingStoreContext->setFillColor(activeOptionTextColor, ColorSpaceDeviceRGB);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to