| Index: Source/bindings/core/v8/ScriptStreamerThread.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptStreamerThread.cpp b/Source/bindings/core/v8/ScriptStreamerThread.cpp
|
| index 16fe74231ec2232c339d031c571947389eba9f28..c706ad118476d4be1e4377f8998a0f749693d065 100644
|
| --- a/Source/bindings/core/v8/ScriptStreamerThread.cpp
|
| +++ b/Source/bindings/core/v8/ScriptStreamerThread.cpp
|
| @@ -67,7 +67,9 @@ void ScriptStreamingTask::run()
|
| // Running the task can and will block: SourceStream::GetSomeData will get
|
| // called and it will block and wait for data from the network.
|
| m_v8Task->Run();
|
| - m_streamer->streamingCompleteOnBackgroundThread();
|
| + // Post a task to the main thread to signal that V8 has completed the
|
| + // streaming.
|
| + callOnMainThread(WTF::bind(&ScriptStreamer::streamingComplete, m_streamer));
|
| ScriptStreamerThread::shared()->taskDone();
|
| }
|
|
|
|
|