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

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

Issue 2583733003: Use LayoutObject::subtreeNeedsPaintPropertyUpdate for printing invalidation (Closed)
Patch Set: - Created 4 years 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.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 9c5cfa285092bf74c2c7e06b7c80d5ec2172062d..c47c1e03a2f97491627ae795d7a242dcabedffd5 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1323,6 +1323,11 @@ void FrameView::setNeedsPaintPropertyUpdate() {
owner->setNeedsPaintPropertyUpdate();
}
+void FrameView::setSubtreeNeedsPaintPropertyUpdate() {
+ setNeedsPaintPropertyUpdate();
+ layoutView()->setSubtreeNeedsPaintPropertyUpdate();
+}
+
IntRect FrameView::computeVisibleArea() {
// Return our clipping bounds in the root frame.
IntRect us(frameRect());
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698