| Index: third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
|
| index 3b48da656fde80d1a204b0b0c60bb682260b3968..eed6995bb8abbf635c184c6b32ace261379580a2 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
|
| @@ -54,10 +54,10 @@ public:
|
| MockWorkerReportingProxy() { }
|
| ~MockWorkerReportingProxy() override { }
|
|
|
| - MOCK_METHOD2(reportExceptionMock, void(const String& errorMessage, SourceLocation*));
|
| - void reportException(const String& errorMessage, std::unique_ptr<SourceLocation> location)
|
| + MOCK_METHOD2(reportExceptionMock, void(const String& errorMessage, SourceLocation*, int exceptionId));
|
| + void reportException(const String& errorMessage, std::unique_ptr<SourceLocation> location, int exceptionId)
|
| {
|
| - reportExceptionMock(errorMessage, location.get());
|
| + reportExceptionMock(errorMessage, location.get(), exceptionId);
|
| }
|
| MOCK_METHOD1(reportConsoleMessage, void(ConsoleMessage*));
|
| MOCK_METHOD1(postMessageToPageInspector, void(const String&));
|
| @@ -163,7 +163,7 @@ public:
|
| return EventTargetNames::DedicatedWorkerGlobalScope;
|
| }
|
|
|
| - void exceptionThrown(const String&, std::unique_ptr<SourceLocation>) override
|
| + void exceptionThrown(ErrorEvent*) override
|
| {
|
| }
|
|
|
|
|