Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
index 557dd061796b2fa236c7378b5d9f8cb63a41085b..03466c14cb587d6c3e2610ddd72d15e79a8dbda6 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
@@ -30,6 +30,7 @@ |
#include "web/ServiceWorkerGlobalScopeProxy.h" |
+#include "bindings/core/v8/SourceLocation.h" |
#include "bindings/core/v8/WorkerOrWorkletScriptController.h" |
#include "core/dom/CrossThreadTask.h" |
#include "core/dom/Document.h" |
@@ -210,9 +211,9 @@ void ServiceWorkerGlobalScopeProxy::dispatchSyncEvent(int eventID, const WebStri |
workerGlobalScope()->dispatchExtendableEvent(event, observer); |
} |
-void ServiceWorkerGlobalScopeProxy::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, int) |
+void ServiceWorkerGlobalScopeProxy::reportException(const String& errorMessage, PassOwnPtr<SourceLocation> location) |
{ |
- client().reportException(errorMessage, lineNumber, columnNumber, sourceURL); |
+ client().reportException(errorMessage, location->lineNumber(), location->columnNumber(), location->url()); |
} |
void ServiceWorkerGlobalScopeProxy::reportConsoleMessage(ConsoleMessage* consoleMessage) |