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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2322073006: Turn off the old compositing path for SPv2. (Closed)
Patch Set: none Created 4 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
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)

Powered by Google App Engine
This is Rietveld 408576698