Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Unified Diff: Source/core/dom/ExecutionContext.h

Issue 328263003: Make Ctor/Dtor of ExecutionContext protected. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ExecutionContext.h
diff --git a/Source/core/dom/ExecutionContext.h b/Source/core/dom/ExecutionContext.h
index 8f73906ccf34a840dac1eee099db71439bee79fa..abad7322da904386440ad548dbdb191619ea6281 100644
--- a/Source/core/dom/ExecutionContext.h
+++ b/Source/core/dom/ExecutionContext.h
@@ -66,8 +66,6 @@ class ExecutionContext
, public LifecycleContext<ExecutionContext>
, public Supplementable<ExecutionContext> {
public:
- ExecutionContext();
- virtual ~ExecutionContext();
virtual void trace(Visitor*);
// Delegating to ExecutionContextClient
@@ -136,6 +134,9 @@ public:
virtual EventQueue* eventQueue() const = 0;
protected:
+ ExecutionContext();
+ virtual ~ExecutionContext();
+
void setClient(ExecutionContextClient* client) { m_client = client; }
virtual const KURL& virtualURL() const = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698