| Index: third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
|
| index 54c44cda69b28f9b3b39a6e878775ff1be10021d..31cdeb64b6ff4fc8954da34fe852b41fbdb6f7c2 100644
|
| --- a/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
|
| @@ -85,11 +85,11 @@ SharedWorkerThread* SharedWorkerGlobalScope::thread()
|
| return static_cast<SharedWorkerThread*>(Base::thread());
|
| }
|
|
|
| -void SharedWorkerGlobalScope::exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation> location)
|
| +void SharedWorkerGlobalScope::exceptionThrown(ErrorEvent* event)
|
| {
|
| - WorkerGlobalScope::exceptionThrown(errorMessage, location->clone());
|
| + WorkerGlobalScope::exceptionThrown(event);
|
| if (WorkerThreadDebugger* debugger = WorkerThreadDebugger::from(thread()->isolate()))
|
| - debugger->exceptionThrown(errorMessage, std::move(location));
|
| + debugger->exceptionThrown(event);
|
| }
|
|
|
| DEFINE_TRACE(SharedWorkerGlobalScope)
|
|
|