Title: [231344] trunk/Source/WebCore
Revision
231344
Author
[email protected]
Date
2018-05-03 18:50:47 -0700 (Thu, 03 May 2018)

Log Message

Unreviewed, attempt to fix WinCairo build failure
https://bugs.webkit.org/show_bug.cgi?id=185218

* platform/text/win/LocaleWin.cpp:
(WebCore::LocaleWin::getLocaleInfoString):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (231343 => 231344)


--- trunk/Source/WebCore/ChangeLog	2018-05-04 01:11:47 UTC (rev 231343)
+++ trunk/Source/WebCore/ChangeLog	2018-05-04 01:50:47 UTC (rev 231344)
@@ -1,3 +1,11 @@
+2018-05-03  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, attempt to fix WinCairo build failure
+        https://bugs.webkit.org/show_bug.cgi?id=185218
+
+        * platform/text/win/LocaleWin.cpp:
+        (WebCore::LocaleWin::getLocaleInfoString):
+
 2018-05-03  Filip Pizlo  <[email protected]>
 
         Strings should not be allocated in a gigacage

Modified: trunk/Source/WebCore/platform/text/win/LocaleWin.cpp (231343 => 231344)


--- trunk/Source/WebCore/platform/text/win/LocaleWin.cpp	2018-05-04 01:11:47 UTC (rev 231343)
+++ trunk/Source/WebCore/platform/text/win/LocaleWin.cpp	2018-05-04 01:50:47 UTC (rev 231344)
@@ -95,7 +95,7 @@
     int bufferSizeWithNUL = ::GetLocaleInfo(m_lcid, type, 0, 0);
     if (bufferSizeWithNUL <= 0)
         return String();
-    StringVector<UChar> buffer(bufferSizeWithNUL);
+    Vector<UChar> buffer(bufferSizeWithNUL);
     ::GetLocaleInfo(m_lcid, type, buffer.data(), bufferSizeWithNUL);
     buffer.shrink(bufferSizeWithNUL - 1);
     return String::adopt(WTFMove(buffer));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to