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 436bb4577f989d4ef781baf10a4af29f040ab28e..ca79caee6c5d6c278719340516b0eef2a105594f 100644 |
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h |
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h |
@@ -88,7 +88,7 @@ public: |
const KURL& url() const; |
KURL completeURL(const String& url) const; |
virtual void disableEval(const String& errorMessage) = 0; |
- virtual LocalDOMWindow* executingWindow() { return 0; } |
+ virtual LocalDOMWindow* executingWindow() const { return 0; } |
virtual String userAgent() const = 0; |
virtual void postTask(const WebTraceLocation&, std::unique_ptr<ExecutionContextTask>, const String& taskNameForInstrumentation = emptyString()) = 0; // Executes the task on context's thread asynchronously. |