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

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

Issue 1391753005: (WIP) Invalidation during painting (for synchronized painting) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 c3e9cfa0009641e9acec169a05e1456f1019e214..38ee3a1ed98769d8d85d5af4477c91f98a10e699 100644
--- a/third_party/WebKit/Source/core/paint/InlinePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/InlinePainter.cpp
@@ -20,17 +20,6 @@ namespace blink {
void InlinePainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
- if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && !paintInfo.context.paintController().skippingCache()) {
- if (m_layoutInline.paintOffsetChanged(paintOffset)) {
- paintInfo.context.paintController().invalidatePaintOffset(m_layoutInline);
- LineBoxListPainter(*m_layoutInline.lineBoxes()).invalidateLineBoxPaintOffsets(paintInfo);
- }
- // Set previousPaintOffset here in case that m_layoutInline paints nothing and no
- // LayoutObjectDrawingRecorder updates its previousPaintOffset.
- // TODO(wangxianzhu): Integrate paint offset checking into new paint invalidation.
- m_layoutInline.mutableForPainting().setPreviousPaintOffset(paintOffset);
- }
-
if (paintInfo.phase == PaintPhaseForeground && paintInfo.isPrinting())
ObjectPainter(m_layoutInline).addPDFURLRectIfNeeded(paintInfo, paintOffset);
« no previous file with comments | « third_party/WebKit/Source/core/paint/ImagePainter.cpp ('k') | third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698