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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp

Issue 2080593002: Revert of Let FrameView track object paint invalidations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TrackInvalidation
Patch Set: Created 4 years, 6 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/layout/LayoutBlockFlow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index 45536cf559320bc491f520d02da65a33ef28093a..02a8c9acce0f77460fd29ab3e092589bec20c118 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -2829,9 +2829,9 @@
m_paintInvalidationLogicalBottom = LayoutUnit();
}
-void LayoutBlockFlow::invalidateDisplayItemClients(PaintInvalidationReason invalidationReason) const
-{
- LayoutBlock::invalidateDisplayItemClients(invalidationReason);
+void LayoutBlockFlow::invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidationContainer, PaintInvalidationReason invalidationReason) const
+{
+ LayoutBlock::invalidateDisplayItemClients(paintInvalidationContainer, invalidationReason);
// If the block is a continuation or containing block of an inline continuation, invalidate the
// start object of the continuations if it has focus ring because change of continuation may change
@@ -2849,7 +2849,7 @@
startOfContinuations = firstChild->node()->layoutObject();
}
if (startOfContinuations && startOfContinuations->styleRef().outlineStyleIsAuto())
- startOfContinuations->slowSetPaintingLayerNeedsRepaintAndInvalidateDisplayItemClient(*startOfContinuations, invalidationReason);
+ startOfContinuations->invalidateDisplayItemClient(*startOfContinuations);
}
void LayoutBlockFlow::clearFloats(EClear clear)
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698