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

Unified Diff: sky/engine/core/dom/Document.h

Issue 697363002: Remove DOMImplementation. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index ea4c0b85b0030ca957758a45571f2019c04f976b..86d2e56372f6a71a682f2c7fefc08bf2ba40f849 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -69,7 +69,6 @@ class Comment;
class ConsoleMessage;
class CustomElementMicrotaskRunQueue;
class CustomElementRegistrationContext;
-class DOMImplementation;
class DocumentFragment;
class DocumentLifecycleNotifier;
class DocumentLoadTiming;
@@ -177,6 +176,9 @@ public:
}
virtual ~Document();
+ // Called by JS.
+ static PassRefPtr<Document> create(Document&);
+
MediaQueryMatcher& mediaQueryMatcher();
void mediaQueryAffectingValueChanged();
@@ -205,8 +207,6 @@ public:
String outgoingReferrer();
- DOMImplementation& implementation();
-
Element* documentElement() const
{
return m_documentElement.get();
@@ -767,8 +767,6 @@ private:
// Mime-type of the document in case it was cloned or created by XHR.
AtomicString m_mimeType;
- OwnPtr<DOMImplementation> m_implementation;
-
RefPtr<CSSStyleSheet> m_elemSheet;
Timer<Document> m_executeScriptsWaitingForResourcesTimer;

Powered by Google App Engine
This is Rietveld 408576698