Changeset 242632 in webkit


Ignore:
Timestamp:
Mar 7, 2019 8:39:45 PM (5 years ago)
Author:
Fujii Hironori
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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r242624 r242632  
     12019-03-07  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [Win] Remove -DUCHAR_TYPE=wchar_t stopgap and learn to live with char16_t.
     4        https://bugs.webkit.org/show_bug.cgi?id=195346
     5        <rdar://problem/48667048>
     6
     7        Unreviewed build fix for clang-cl.
     8
     9        * DumpRenderTree/win/DumpRenderTree.cpp:
     10        (setApplicationId): Replaced calling String::charactersWithNullTermination with String::wideCharacters to get wchar_t.
     11
    1122019-03-07  Said Abou-Hallawa  <sabouhallawa@apple.com>
    213
  • trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp

    r242592 r242632  
    915915        COMPtr<IWebPreferencesPrivate4> prefsPrivate4(Query, preferences);
    916916        ASSERT(prefsPrivate4);
    917         _bstr_t fileName = applicationId().charactersWithNullTermination().data();
     917        _bstr_t fileName = applicationId().wideCharacters().data();
    918918        prefsPrivate4->setApplicationId(fileName);
    919919    }
Note: See TracChangeset for help on using the changeset viewer.