| Index: third_party/WebKit/Source/core/dom/ExecutionContext.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h
|
| index 700055be75081d919e3d39d26b47b550ac662e90..58baf891ec3ea138275537206d33749ed153faa1 100644
|
| --- a/third_party/WebKit/Source/core/dom/ExecutionContext.h
|
| +++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h
|
| @@ -55,7 +55,7 @@ class ExecutionContextTask;
|
| class LocalDOMWindow;
|
| class PublicURLManager;
|
| class SecurityOrigin;
|
| -class ScriptCallStack;
|
| +class SourceLocation;
|
|
|
| class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier, public Supplementable<ExecutionContext> {
|
| WTF_MAKE_NONCOPYABLE(ExecutionContext);
|
| @@ -104,10 +104,10 @@ public:
|
| KURL contextCompleteURL(const String& url) const { return virtualCompleteURL(url); }
|
|
|
| bool shouldSanitizeScriptError(const String& sourceURL, AccessControlStatus);
|
| - void reportException(ErrorEvent*, int scriptId, PassRefPtr<ScriptCallStack>, AccessControlStatus);
|
| + void reportException(ErrorEvent*, PassOwnPtr<SourceLocation>, AccessControlStatus);
|
|
|
| virtual void addConsoleMessage(ConsoleMessage*) = 0;
|
| - virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) = 0;
|
| + virtual void logExceptionToConsole(const String& errorMessage, PassOwnPtr<SourceLocation>) = 0;
|
|
|
| PublicURLManager& publicURLManager();
|
|
|
|
|