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

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

Issue 2792863002: Revert of Skip paint property update and visual rect update if no geometry change (Closed)
Patch Set: Created 3 years, 9 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 da6f838908e64a21e795e95f3ade4b89d4c15d47..9a608ea2d0aa84af160a63d7440a00ca320aed39 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -3145,8 +3145,6 @@
// we need to propagate the flags into the ancestor chain so that
// PrePaintTreeWalk can reach this frame.
frameView.setNeedsPaintPropertyUpdate();
- if (auto owner = frameView.frame().ownerLayoutItem())
- owner.setMayNeedPaintInvalidation();
}
});
@@ -4972,8 +4970,6 @@
if (!frame().loader().stateMachine()->committedFirstRealDocumentLoad())
return;
m_lifecycleUpdatesThrottled = false;
- if (auto owner = frame().ownerLayoutItem())
- owner.setMayNeedPaintInvalidation();
setupRenderThrottling();
updateRenderThrottlingStatus(m_hiddenForThrottling, m_subtreeThrottled);
// The compositor will "defer commits" for the main frame until we

Powered by Google App Engine
This is Rietveld 408576698