Index: third_party/WebKit/Source/core/frame/FrameView.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h |
index 464953ad0d065036ef9cc5aaa9a588a63fabdee8..33a9f6dea9269f07fafe4579ee7e87dadc97bb8b 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.h |
+++ b/third_party/WebKit/Source/core/frame/FrameView.h |
@@ -79,6 +79,7 @@ class LayoutObject; |
class LayoutReplaced; |
class LayoutScrollbarPart; |
class LayoutView; |
+class PaintController; |
class PaintInvalidationState; |
class Page; |
class ScrollingCoordinator; |
@@ -792,6 +793,8 @@ private: |
bool checkLayoutInvalidationIsAllowed() const; |
+ PaintController* paintController() { return m_paintController.get(); } |
+ |
LayoutSize m_size; |
typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; |
@@ -951,6 +954,9 @@ private: |
PaintInvalidationReason reason; |
}; |
std::unique_ptr<Vector<ObjectPaintInvalidation>> m_trackedObjectPaintInvalidations; |
+ |
+ // For Slimming Paint v2 only. |
+ std::unique_ptr<PaintController> m_paintController; |
}; |
inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count) |