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

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

Issue 2051333005: Let FrameView track object paint invalidations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TrackInvalidation
Patch Set: NeedsRebaseline 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 02a8c9acce0f77460fd29ab3e092589bec20c118..45536cf559320bc491f520d02da65a33ef28093a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -2829,9 +2829,9 @@ void LayoutBlockFlow::invalidatePaintForOverflow()
m_paintInvalidationLogicalBottom = LayoutUnit();
}
-void LayoutBlockFlow::invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidationContainer, PaintInvalidationReason invalidationReason) const
+void LayoutBlockFlow::invalidateDisplayItemClients(PaintInvalidationReason invalidationReason) const
{
- LayoutBlock::invalidateDisplayItemClients(paintInvalidationContainer, invalidationReason);
+ LayoutBlock::invalidateDisplayItemClients(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 @@ void LayoutBlockFlow::invalidateDisplayItemClients(const LayoutBoxModelObject& p
startOfContinuations = firstChild->node()->layoutObject();
}
if (startOfContinuations && startOfContinuations->styleRef().outlineStyleIsAuto())
- startOfContinuations->invalidateDisplayItemClient(*startOfContinuations);
+ startOfContinuations->slowSetPaintingLayerNeedsRepaintAndInvalidateDisplayItemClient(*startOfContinuations, invalidationReason);
}
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