| 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 e4654725c4d1aaf0faefa6c7d5f2267c29d8c01e..77379c26c9445e247859737837c260e59d6c033b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
|
| @@ -14,7 +14,6 @@
|
| #include "core/html/parser/TextResourceDecoder.h"
|
| #include "platform/Histogram.h"
|
| #include "platform/SharedBuffer.h"
|
| -#include "platform/Task.h"
|
| #include "platform/ThreadSafeFunctional.h"
|
| #include "platform/TraceEvent.h"
|
| #include "public/platform/WebScheduler.h"
|
| @@ -546,7 +545,7 @@ void ScriptStreamer::notifyAppendData(ScriptResource* resource)
|
| // running. This is taken care of with a manual ref() & deref() pair;
|
| // the corresponding deref() is in streamingComplete.
|
| ref();
|
| - ScriptStreamerThread::shared()->postTask(new Task(threadSafeBind(&ScriptStreamerThread::runScriptStreamingTask, scriptStreamingTask.release(), AllowCrossThreadAccess(this))));
|
| + ScriptStreamerThread::shared()->postTask(threadSafeBind(&ScriptStreamerThread::runScriptStreamingTask, scriptStreamingTask.release(), AllowCrossThreadAccess(this)));
|
| recordStartedStreamingHistogram(m_scriptType, 1);
|
| }
|
| if (m_stream)
|
|
|