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

Unified Diff: third_party/WebKit/Source/core/paint/InlinePainter.cpp

Issue 1401363003: Rename DisplayItemList to PaintController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/InlinePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/InlinePainter.cpp b/third_party/WebKit/Source/core/paint/InlinePainter.cpp
index 07874e78879fab220e2c0738e79e2b556d57efb4..a9486a7611a7141c384c1ff2e811430a5fa115c6 100644
--- a/third_party/WebKit/Source/core/paint/InlinePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/InlinePainter.cpp
@@ -21,9 +21,9 @@ namespace blink {
void InlinePainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
- if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && !paintInfo.context->displayItemList()->skippingCache()) {
+ if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && !paintInfo.context->paintController()->skippingCache()) {
if (m_layoutInline.paintOffsetChanged(paintOffset)) {
- paintInfo.context->displayItemList()->invalidatePaintOffset(m_layoutInline);
+ paintInfo.context->paintController()->invalidatePaintOffset(m_layoutInline);
LineBoxListPainter(*m_layoutInline.lineBoxes()).invalidateLineBoxPaintOffsets(paintInfo);
}
// Set previousPaintOffset here in case that m_layoutInline paints nothing and no
« no previous file with comments | « third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp ('k') | third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698