Title: [206265] trunk/Source/WebCore
Revision
206265
Author
commit-qu...@webkit.org
Date
2016-09-22 11:43:40 -0700 (Thu, 22 Sep 2016)

Log Message

[WinCairo] Fix build after r206196

Patch by Don Olmstead <don.olmst...@am.sony.com> on 2016-09-22
Reviewed by Alex Christensen.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (206264 => 206265)


--- trunk/Source/WebCore/ChangeLog	2016-09-22 18:30:33 UTC (rev 206264)
+++ trunk/Source/WebCore/ChangeLog	2016-09-22 18:43:40 UTC (rev 206265)
@@ -1,3 +1,12 @@
+2016-09-22  Don Olmstead  <don.olmst...@am.sony.com>
+
+        [WinCairo] Fix build after r206196
+
+        Reviewed by Alex Christensen.
+
+        * platform/text/win/LocaleWin.cpp:
+        (WebCore::LocaleWin::getLocaleInfoString):
+
 2016-09-22  Jonathan Bedard  <jbed...@apple.com>
 
         Automatic Text Replacement Testing in WebKit2

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


--- trunk/Source/WebCore/platform/text/win/LocaleWin.cpp	2016-09-22 18:30:33 UTC (rev 206264)
+++ trunk/Source/WebCore/platform/text/win/LocaleWin.cpp	2016-09-22 18:43:40 UTC (rev 206265)
@@ -101,7 +101,7 @@
     Vector<UChar> buffer(bufferSizeWithNUL);
     ::GetLocaleInfo(m_lcid, type, buffer.data(), bufferSizeWithNUL);
     buffer.shrink(bufferSizeWithNUL - 1);
-    return String::adopt(buffer);
+    return String::adopt(WTFMove(buffer));
 }
 
 void LocaleWin::getLocaleInfo(LCTYPE type, DWORD& result)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to