Index: Source/core/dom/ExecutionContext.h |
diff --git a/Source/core/dom/ExecutionContext.h b/Source/core/dom/ExecutionContext.h |
index eb165efd7f87d1e6ec2687816f9eca4c9ebc7920..9f40e1251aa7dfce138567c3362ff85965bf4b20 100644 |
--- a/Source/core/dom/ExecutionContext.h |
+++ b/Source/core/dom/ExecutionContext.h |
@@ -70,7 +70,6 @@ public: |
virtual ~ExecutionContext(); |
// Delegating to ExecutionContextClient |
- void setClient(ExecutionContextClient* client) { m_client = client; } |
bool isDocument() const { return m_client && m_client->isDocument(); } |
bool isWorkerGlobalScope() const { return m_client && m_client->isWorkerGlobalScope(); } |
bool isJSExecutionForbidden() { return m_client && m_client->isJSExecutionForbidden(); } |
@@ -130,6 +129,7 @@ public: |
virtual EventQueue* eventQueue() const = 0; |
protected: |
+ void setClient(ExecutionContextClient* client) { m_client = client; } |
ContextLifecycleNotifier& lifecycleNotifier(); |