| Index: Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| index f5e1354099537eb7a94a325218db1adac5fa94b7..bf5bc7210bc41e5fd0e9951f6b5a502fea76e73e 100644
|
| --- a/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| +++ b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/dom/MessagePort.h"
|
| #include "core/events/MessageEvent.h"
|
| +#include "core/inspector/ConsoleMessage.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| #include "modules/push_messaging/PushEvent.h"
|
| #include "modules/serviceworkers/FetchEvent.h"
|
| @@ -114,9 +115,9 @@ void ServiceWorkerGlobalScopeProxy::dispatchSyncEvent(int eventID)
|
| ServiceWorkerGlobalScopeClient::from(m_workerGlobalScope)->didHandleSyncEvent(eventID);
|
| }
|
|
|
| -void ServiceWorkerGlobalScopeProxy::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL)
|
| +void ServiceWorkerGlobalScopeProxy::reportException(PassRefPtrWillBeRawPtr<ConsoleMessage> consoleError)
|
| {
|
| - m_client.reportException(errorMessage, lineNumber, columnNumber, sourceURL);
|
| + m_client.reportException(consoleError->message(), consoleError->lineNumber(), consoleError->columnNumber(), consoleError->url());
|
| }
|
|
|
| void ServiceWorkerGlobalScopeProxy::reportConsoleMessage(MessageSource source, MessageLevel level, const String& message, int lineNumber, const String& sourceURL)
|
|
|