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

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

Issue 2404213004: Implement incremental paint property tree rebuilding (Closed)
Patch Set: Fix bug in how svg local to border box was updated, no longer crash in tests Created 4 years, 2 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.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 419d75ec172dbeecae388a6c79699fff76fb6e8e..56638a335c8a433516fa2bc5249a72fd7400f600 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -3377,6 +3377,8 @@ void FrameView::frameRectsChanged() {
setNeedsUpdateViewportIntersection();
for (const auto& child : m_children)
child->frameRectsChanged();
+
+ setPaintPropertiesInvalid();
chrishtr 2016/10/21 22:03:09 Add a brief comment explaining which property tree
pdr. 2016/10/26 03:10:48 Done
}
void FrameView::setLayoutSizeInternal(const IntSize& size) {
@@ -3615,6 +3617,7 @@ void FrameView::didChangeScrollOffset() {
frame().loader().client()->didChangeScrollOffset();
if (frame().isMainFrame())
frame().host()->chromeClient().mainFrameScrollOffsetChanged();
+ setPaintPropertiesInvalid();
chrishtr 2016/10/21 22:03:09 Add a brief comment explaining which property tree
pdr. 2016/10/26 03:10:48 Done. I tightened these invalidations up a bit as
}
void FrameView::clearScrollAnchor() {

Powered by Google App Engine
This is Rietveld 408576698