Ignore:
Timestamp:
Nov 1, 2018, 6:13:19 PM (7 years ago)
Author:
Fujii Hironori
Message:

Rename <wtf/unicode/UTF8.h> to <wtf/unicode/UTF8Conversion.h> in order to avoid conflicting with ICU's unicode/utf8.h
https://bugs.webkit.org/show_bug.cgi?id=189693

Reviewed by Yusuke Suzuki.

Source/JavaScriptCore:

  • API/JSClassRef.cpp: Replaced <wtf/unicode/UTF8.h> with <wtf/unicode/UTF8Conversion.h>.
  • API/JSStringRef.cpp: Ditto.
  • runtime/JSGlobalObjectFunctions.cpp: Ditto.
  • wasm/WasmParser.h: Ditto.

Source/WebCore:

No new tests because there's no behaviro changes.

  • platform/SharedBuffer.cpp: Replaced <wtf/unicode/UTF8.h> with <wtf/unicode/UTF8Conversion.h>.
  • xml/XSLTProcessorLibxslt.cpp: Ditto.
  • xml/parser/XMLDocumentParserLibxml2.cpp: Ditto.

Source/WebKit:

  • Shared/API/APIString.h: Replaced <wtf/unicode/UTF8.h> with <wtf/unicode/UTF8Conversion.h>.

Source/WTF:

  • WTF.xcodeproj/project.pbxproj: Replaced unicode/UTF8.{cpp,h} with unicode/UTF8Conversion.{cpp,h}.
  • wtf/CMakeLists.txt: Ditto.
  • wtf/text/AtomicStringImpl.cpp: Replaced <wtf/unicode/UTF8.h> with <wtf/unicode/UTF8Conversion.h>.
  • wtf/text/StringImpl.cpp: Ditto.
  • wtf/text/StringView.cpp: Ditto.
  • wtf/text/WTFString.cpp: Ditto.
  • wtf/unicode/UTF8Conversion.cpp: Renamed from Source/WTF/wtf/unicode/UTF8.cpp.
  • wtf/unicode/UTF8Conversion.h: Renamed from Source/WTF/wtf/unicode/UTF8.h.
File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.