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; |