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

Unified Diff: third_party/WebKit/Source/core/paint/LineBoxListPainter.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/paint/LineBoxListPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp b/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp
index 0924dbddc50852a1fd3129f935d7a27de6498e8f..5d2144d0f7438fcadc37a349b125c3f157b2f4bb 100644
--- a/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp
@@ -60,6 +60,8 @@ void LineBoxListPainter::paint(const LayoutBoxModelObject& layoutObject, const P
static void invalidateLineBoxPaintOffsetsInternal(PaintController& paintController, InlineFlowBox* inlineBox)
{
+#if 0
+ // TODO(wangxianzhu): Implement this with PaintInvalidator.
paintController.invalidatePaintOffset(*inlineBox);
for (InlineBox* child = inlineBox->firstChild(); child; child = child->nextOnLine()) {
if (!child->getLineLayoutItem().isText() && child->boxModelObject().hasSelfPaintingLayer())
@@ -69,6 +71,7 @@ static void invalidateLineBoxPaintOffsetsInternal(PaintController& paintControll
else
paintController.invalidatePaintOffset(*child);
}
+#endif
}
void LineBoxListPainter::invalidateLineBoxPaintOffsets(const PaintInfo& paintInfo) const

Powered by Google App Engine
This is Rietveld 408576698