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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.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/bindings/core/v8/ScriptStreamer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
index 8c889d8b6cfb32760869cba1e6554ea28942b1e3..1daf0bd50f1b5327da254f3701abc1101eca9960 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
@@ -471,13 +471,14 @@ void ScriptStreamer::notifyAppendData(ScriptResource* resource) {
DCHECK(!m_source);
m_stream = new SourceStream(m_loadingTaskRunner.get());
// m_source takes ownership of m_stream.
- m_source = wrapUnique(
+ m_source = WTF::wrapUnique(
new v8::ScriptCompiler::StreamedSource(m_stream, m_encoding));
ScriptState::Scope scope(m_scriptState.get());
std::unique_ptr<v8::ScriptCompiler::ScriptStreamingTask>
- scriptStreamingTask(wrapUnique(v8::ScriptCompiler::StartStreamingScript(
- m_scriptState->isolate(), m_source.get(), m_compileOptions)));
+ scriptStreamingTask(
+ WTF::wrapUnique(v8::ScriptCompiler::StartStreamingScript(
+ m_scriptState->isolate(), m_source.get(), m_compileOptions)));
if (!scriptStreamingTask) {
// V8 cannot stream the script.
suppressStreaming();
@@ -490,7 +491,7 @@ void ScriptStreamer::notifyAppendData(ScriptResource* resource) {
ScriptStreamerThread::shared()->postTask(
crossThreadBind(&ScriptStreamerThread::runScriptStreamingTask,
- passed(std::move(scriptStreamingTask)),
+ WTF::passed(std::move(scriptStreamingTask)),
wrapCrossThreadPersistent(this)));
recordStartedStreamingHistogram(m_scriptType, 1);
}

Powered by Google App Engine
This is Rietveld 408576698