| 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 131b2dcec769477c0d919b9aa16f847f77345e6f..8553011d2b25d5ce2ac497724bc50d182093c183 100644
|
| --- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
|
| @@ -86,7 +86,7 @@ int WorkerThreadDebugger::contextGroupId(ExecutionContext* context)
|
|
|
| void WorkerThreadDebugger::contextCreated(v8::Local<v8::Context> context)
|
| {
|
| - V8ContextInfo contextInfo(context, workerContextGroupId, "");
|
| + v8_inspector::V8ContextInfo contextInfo(context, workerContextGroupId, "");
|
| contextInfo.origin = m_workerThread->globalScope()->url().getString();
|
| v8Inspector()->contextCreated(contextInfo);
|
| }
|
| @@ -165,10 +165,10 @@ void WorkerThreadDebugger::resumeStartup(int contextGroupId)
|
| m_workerThread->stopRunningDebuggerTasksOnPauseOnWorkerThread();
|
| }
|
|
|
| -void WorkerThreadDebugger::consoleAPIMessage(int contextGroupId, V8ConsoleAPIType type, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8StackTrace* stackTrace)
|
| +void WorkerThreadDebugger::consoleAPIMessage(int contextGroupId, v8_inspector::V8ConsoleAPIType type, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, v8_inspector::V8StackTrace* stackTrace)
|
| {
|
| DCHECK(contextGroupId == workerContextGroupId);
|
| - if (type == V8ConsoleAPIType::kClear)
|
| + if (type == v8_inspector::V8ConsoleAPIType::kClear)
|
| m_workerThread->consoleMessageStorage()->clear();
|
| std::unique_ptr<SourceLocation> location = SourceLocation::create(url, lineNumber, columnNumber, stackTrace ? stackTrace->clone() : nullptr, 0);
|
| m_workerThread->workerReportingProxy().reportConsoleMessage(ConsoleAPIMessageSource, consoleAPITypeToMessageLevel(type), message, location.get());
|
|
|