Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/PreloadRequest.h ('k') | third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698