| Index: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
|
| index 71c5f57e08cb6c99af8b1f9b3a5c90879f36230f..fc35484bf843a3cb650d5407b9457dbc1eaa2b16 100644
|
| --- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
|
| @@ -89,4 +89,11 @@ bool WorkerThreadDebugger::callingContextCanAccessContext(v8::Local<v8::Context>
|
| return true;
|
| }
|
|
|
| +void WorkerThreadDebugger::reportMessageToConsole(v8::Local<v8::Context> context, ConsoleMessage* message)
|
| +{
|
| + ExecutionContext* executionContext = toExecutionContext(context);
|
| + ASSERT(executionContext->isWorkerGlobalScope());
|
| + executionContext->addConsoleMessage(message);
|
| +}
|
| +
|
| } // namespace blink
|
|
|