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

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

Issue 1755853002: Remove old paint offset caching code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/DetailsMarkerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/DetailsMarkerPainter.cpp b/third_party/WebKit/Source/core/paint/DetailsMarkerPainter.cpp
index b731eae14c584f2139a3c2887539ec1f14df7cf5..c9dde0aafbda6d1d10ceeab8cfa64661778fce04 100644
--- a/third_party/WebKit/Source/core/paint/DetailsMarkerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/DetailsMarkerPainter.cpp
@@ -20,7 +20,7 @@ void DetailsMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint&
return;
}
- if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutDetailsMarker, paintInfo.phase, paintOffset))
+ if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutDetailsMarker, paintInfo.phase))
return;
LayoutPoint boxOrigin(paintOffset + m_layoutDetailsMarker.location());
@@ -30,7 +30,7 @@ void DetailsMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint&
if (!paintInfo.cullRect().intersectsCullRect(overflowRect))
return;
- LayoutObjectDrawingRecorder layoutDrawingRecorder(paintInfo.context, m_layoutDetailsMarker, paintInfo.phase, overflowRect, paintOffset);
+ LayoutObjectDrawingRecorder layoutDrawingRecorder(paintInfo.context, m_layoutDetailsMarker, paintInfo.phase, overflowRect);
const Color color(m_layoutDetailsMarker.resolveColor(CSSPropertyColor));
paintInfo.context.setFillColor(color);
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxPainter.cpp ('k') | third_party/WebKit/Source/core/paint/EmbeddedObjectPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698