| Index: third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h b/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h
|
| index 3601a4eeee3d9ba8a36e9789eff3df780f107033..f1fc9b62cd49f5277f6e2b477d8925d34f912862 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h
|
| @@ -52,7 +52,7 @@ class CORE_EXPORT TextResourceDecoder {
|
| const String& mimeType,
|
| const WTF::TextEncoding& defaultEncoding = WTF::TextEncoding(),
|
| bool usesEncodingDetector = false) {
|
| - return wrapUnique(new TextResourceDecoder(
|
| + return WTF::wrapUnique(new TextResourceDecoder(
|
| mimeType, defaultEncoding, usesEncodingDetector
|
| ? UseAllAutoDetection
|
| : UseContentAndBOMBasedDetection));
|
| @@ -60,8 +60,8 @@ class CORE_EXPORT TextResourceDecoder {
|
| // Corresponds to utf-8 decode in Encoding spec:
|
| // https://encoding.spec.whatwg.org/#utf-8-decode.
|
| static std::unique_ptr<TextResourceDecoder> createAlwaysUseUTF8ForText() {
|
| - return wrapUnique(new TextResourceDecoder("plain/text", UTF8Encoding(),
|
| - AlwaysUseUTF8ForText));
|
| + return WTF::wrapUnique(new TextResourceDecoder("plain/text", UTF8Encoding(),
|
| + AlwaysUseUTF8ForText));
|
| }
|
| ~TextResourceDecoder();
|
|
|
|
|