Changeset 221471 in webkit


Ignore:
Timestamp:
Aug 31, 2017, 9:10:20 PM (8 years ago)
Author:
achristensen@apple.com
Message:

Fix Windows build after r221422
https://bugs.webkit.org/show_bug.cgi?id=174924

  • platform/text/win/LocaleWin.cpp:

(WebCore::LocaleWin::getLocaleInfoString):
StringVector is now the type that can be adopted by String::adopt.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r221469 r221471  
     12017-08-31  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix Windows build after r221422
     4        https://bugs.webkit.org/show_bug.cgi?id=174924
     5
     6        * platform/text/win/LocaleWin.cpp:
     7        (WebCore::LocaleWin::getLocaleInfoString):
     8        StringVector is now the type that can be adopted by String::adopt.
     9
    1102017-08-31  Daniel Bates  <dabates@apple.com>
    211
  • trunk/Source/WebCore/platform/text/win/LocaleWin.cpp

    r206265 r221471  
    9999    if (bufferSizeWithNUL <= 0)
    100100        return String();
    101     Vector<UChar> buffer(bufferSizeWithNUL);
     101    StringVector<UChar> buffer(bufferSizeWithNUL);
    102102    ::GetLocaleInfo(m_lcid, type, buffer.data(), bufferSizeWithNUL);
    103103    buffer.shrink(bufferSizeWithNUL - 1);
Note: See TracChangeset for help on using the changeset viewer.