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

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

Issue 1610063002: Revert of Remove PaintInfo's paintingRoot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 53d53dcbfd1d5c38fc1ef368223222ae2bb69038..709ec18135c0a371b54ab6f8dc772b498631a2ce 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -222,6 +222,9 @@
void setIsPainting(bool val) const { m_isPainting = val; }
bool isPainting() const;
+ void setNodeToDraw(Node*);
+ Node* nodeToDraw() const { return m_nodeToDraw.get(); }
+
Color documentBackgroundColor() const;
// Run all needed lifecycle stages. After calling this method, all frames will be in the lifecycle state PaintInvalidationClean.
@@ -799,6 +802,8 @@
bool m_isTrackingPaintInvalidations; // Used for testing.
+ RefPtrWillBeMember<Node> m_nodeToDraw;
+
// TODO(wangxianzhu): Use document cycle state for spv2 and synchronzied painting.
mutable bool m_isPainting;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698