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

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

Issue 2603703002: [SPInvalidation] Call layoutView->setNeedsPaintPropertyUpdate in FrameView::setNeedsPaintPropertyUp… (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 be913bda96355836de374231f5630bf74456b949..05440d80bb55059c5edf195a95c89b0d8f214b8c 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1319,6 +1319,12 @@ void FrameView::invalidatePaintIfNeeded(
void FrameView::setNeedsPaintPropertyUpdate() {
m_needsPaintPropertyUpdate = true;
+ if (RuntimeEnabledFeatures::rootLayerScrollingEnabled()) {
chrishtr 2016/12/27 18:05:46 Why wouldn't the cases with RLS enabled be handled
Xianzhu 2016/12/27 18:57:32 For scroll clip changes, the regular path is in La
+ if (auto* layoutView = this->layoutView()) {
+ layoutView->setNeedsPaintPropertyUpdate();
+ return;
+ }
+ }
if (LayoutObject* owner = frame().ownerLayoutObject())
owner->setNeedsPaintPropertyUpdate();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698