Index: sky/engine/core/dom/Document.h |
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h |
index 408763005fdbf7e0cc41a72321c96232eaa7958c..8116b3bc6ef87ff0a6b691296f55f7e2170065df 100644 |
--- a/sky/engine/core/dom/Document.h |
+++ b/sky/engine/core/dom/Document.h |
@@ -63,10 +63,11 @@ namespace blink { |
class AbstractModule; |
class AnimationTimeline; |
class Attr; |
-class CSSStyleDeclaration; |
-class CSSStyleSheet; |
class Comment; |
class ConsoleMessage; |
+class CSSStyleDeclaration; |
+class CSSStyleSheet; |
+class CustomElementRegistry; |
class DocumentFragment; |
class DocumentLifecycleNotifier; |
class DocumentLoadTiming; |
@@ -82,28 +83,28 @@ class FloatRect; |
class Frame; |
class FrameHost; |
class FrameView; |
+class HitTestRequest; |
class HTMLDocumentParser; |
class HTMLElement; |
class HTMLImport; |
class HTMLImportLoader; |
class HTMLImportsController; |
class HTMLScriptElement; |
-class HitTestRequest; |
class LayoutPoint; |
class LocalDOMWindow; |
class LocalFrame; |
class Location; |
class MediaQueryListListener; |
class MediaQueryMatcher; |
-class CustomElementRegistry; |
class Page; |
+class Picture; |
class QualifiedName; |
class Range; |
class RenderView; |
class RequestAnimationFrameCallback; |
class ResourceFetcher; |
-class ScriptRunner; |
class ScriptedAnimationController; |
+class ScriptRunner; |
class SegmentedString; |
class SelectorQueryCache; |
class Settings; |
@@ -494,6 +495,9 @@ public: |
void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; } |
+ Picture* rootPicture() const; |
+ void setRootPicture(PassRefPtr<Picture> picture); |
+ |
protected: |
explicit Document(const DocumentInit&); |
@@ -678,6 +682,8 @@ private: |
int m_styleRecalcElementCounter; |
mutable DocumentLoadTiming m_documentLoadTiming; |
+ |
+ RefPtr<Picture> m_picture; |
}; |
inline void Document::scheduleRenderTreeUpdateIfNeeded() |