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

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

Issue 559553002: Merge ExecutionContextClient and ExecutionContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@tmp1
Patch Set: Rebased Created 6 years, 3 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 | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index f034525e3dea8dc8a08f1fce712e6cba73b6156a..afc962914ab3095e411bd4dfefa07230d0e85989 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -214,7 +214,7 @@ private:
RawPtrWillBeMember<Document> m_document;
};
-class Document : public ContainerNode, public TreeScope, public SecurityContext, public ExecutionContext, public ExecutionContextClient
+class Document : public ContainerNode, public TreeScope, public SecurityContext, public ExecutionContext
, public DocumentSupplementable, public LifecycleContext<Document> {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Document);
@@ -235,7 +235,6 @@ public:
#endif
using SecurityContext::securityOrigin;
using SecurityContext::contentSecurityPolicy;
- using ExecutionContextClient::addConsoleMessage;
using TreeScope::getElementById;
virtual bool canContainRangeEndPoint() const OVERRIDE { return true; }
@@ -1004,7 +1003,7 @@ public:
void didAssociateFormControl(Element*);
- virtual void addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) OVERRIDE FINAL;
+ virtual void addConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) OVERRIDE FINAL;
virtual LocalDOMWindow* executingWindow() OVERRIDE FINAL;
LocalFrame* executingFrame();
@@ -1393,7 +1392,6 @@ inline void Document::scheduleRenderTreeUpdateIfNeeded()
scheduleRenderTreeUpdate();
}
-DEFINE_TYPE_CASTS(Document, ExecutionContextClient, client, client->isDocument(), client.isDocument());
DEFINE_TYPE_CASTS(Document, ExecutionContext, context, context->isDocument(), context.isDocument());
DEFINE_NODE_TYPE_CASTS(Document, isDocumentNode());
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698