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

Unified Diff: third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp

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/BackgroundHTMLParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
index e90928685871fd546157ceffd2e028bdfea775ea..f3e5bb146ed41b923432f04c972153c660e186e7 100644
--- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
@@ -111,13 +111,13 @@ BackgroundHTMLParser::BackgroundHTMLParser(
std::unique_ptr<Configuration> config,
std::unique_ptr<WebTaskRunner> loadingTaskRunner)
: m_weakFactory(this),
- m_token(wrapUnique(new HTMLToken)),
+ m_token(WTF::wrapUnique(new HTMLToken)),
m_tokenizer(HTMLTokenizer::create(config->options)),
m_treeBuilderSimulator(config->options),
m_options(config->options),
m_outstandingTokenLimit(config->outstandingTokenLimit),
m_parser(config->parser),
- m_pendingTokens(wrapUnique(new CompactHTMLTokenStream)),
+ m_pendingTokens(WTF::wrapUnique(new CompactHTMLTokenStream)),
m_pendingTokenLimit(config->pendingTokenLimit),
m_xssAuditor(std::move(config->xssAuditor)),
m_decoder(std::move(config->decoder)),
@@ -326,7 +326,7 @@ bool BackgroundHTMLParser::queueChunkForMainThread() {
double chunkStartTime = monotonicallyIncreasingTimeMS();
std::unique_ptr<HTMLDocumentParser::TokenizedChunk> chunk =
- wrapUnique(new HTMLDocumentParser::TokenizedChunk);
+ WTF::wrapUnique(new HTMLDocumentParser::TokenizedChunk);
TRACE_EVENT_WITH_FLOW0("blink,loading",
"BackgroundHTMLParser::sendTokensToMainThread",
chunk.get(), TRACE_EVENT_FLAG_FLOW_OUT);
@@ -361,7 +361,7 @@ bool BackgroundHTMLParser::queueChunkForMainThread() {
("Parser.ChunkEnqueueTime", 1, 10000, 50));
chunkEnqueueTime.count(monotonicallyIncreasingTimeMS() - chunkStartTime);
- m_pendingTokens = wrapUnique(new CompactHTMLTokenStream);
+ m_pendingTokens = WTF::wrapUnique(new CompactHTMLTokenStream);
return isEmpty;
}

Powered by Google App Engine
This is Rietveld 408576698