Title: [242632] trunk/Tools
Revision
242632
Author
[email protected]
Date
2019-03-07 20:39:45 -0800 (Thu, 07 Mar 2019)

Log Message

[Win] Remove -DUCHAR_TYPE=wchar_t stopgap and learn to live with char16_t.
https://bugs.webkit.org/show_bug.cgi?id=195346
<rdar://problem/48667048>

Unreviewed build fix for clang-cl.

* DumpRenderTree/win/DumpRenderTree.cpp:
(setApplicationId): Replaced calling String::charactersWithNullTermination with String::wideCharacters to get wchar_t.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (242631 => 242632)


--- trunk/Tools/ChangeLog	2019-03-08 04:28:48 UTC (rev 242631)
+++ trunk/Tools/ChangeLog	2019-03-08 04:39:45 UTC (rev 242632)
@@ -1,3 +1,14 @@
+2019-03-07  Fujii Hironori  <[email protected]>
+
+        [Win] Remove -DUCHAR_TYPE=wchar_t stopgap and learn to live with char16_t.
+        https://bugs.webkit.org/show_bug.cgi?id=195346
+        <rdar://problem/48667048>
+
+        Unreviewed build fix for clang-cl.
+
+        * DumpRenderTree/win/DumpRenderTree.cpp:
+        (setApplicationId): Replaced calling String::charactersWithNullTermination with String::wideCharacters to get wchar_t.
+
 2019-03-07  Said Abou-Hallawa  <[email protected]>
 
         requestAnimationFrame should execute before the next frame

Modified: trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp (242631 => 242632)


--- trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp	2019-03-08 04:28:48 UTC (rev 242631)
+++ trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp	2019-03-08 04:39:45 UTC (rev 242632)
@@ -914,7 +914,7 @@
     if (SUCCEEDED(WebKitCreateInstance(CLSID_WebPreferences, 0, IID_IWebPreferences, (void**)&preferences))) {
         COMPtr<IWebPreferencesPrivate4> prefsPrivate4(Query, preferences);
         ASSERT(prefsPrivate4);
-        _bstr_t fileName = applicationId().charactersWithNullTermination().data();
+        _bstr_t fileName = applicationId().wideCharacters().data();
         prefsPrivate4->setApplicationId(fileName);
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to