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

Unified Diff: Source/core/paint/ObjectPainter.h

Issue 1315993004: Implement a paint offset cache for slimming paint v2 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/core/paint/ObjectPainter.h
diff --git a/Source/core/paint/ObjectPainter.h b/Source/core/paint/ObjectPainter.h
index 555e3161f2ac7e0cac960b9949b1669a5f605636..72e3d62adca65ea4d5c21d348860b999478d4fba 100644
--- a/Source/core/paint/ObjectPainter.h
+++ b/Source/core/paint/ObjectPainter.h
@@ -22,7 +22,8 @@ class ObjectPainter {
public:
ObjectPainter(LayoutObject& layoutObject) : m_layoutObject(layoutObject) { }
- void paintOutline(const PaintInfo&, const LayoutRect& objectBounds, const LayoutRect& visualOverflowBounds);
+ // TODO(pdr): Update paintOutline to take a visualOverflowRect and a paintOffset and update the visual overflow in this function instead of at callsites.
+ void paintOutline(const PaintInfo&, const LayoutRect& objectBounds, const LayoutRect& visualOverflowBounds, const LayoutPoint& paintOffset);
void paintFocusRing(const PaintInfo&, const ComputedStyle&, const Vector<LayoutRect>& focusRingRects);
void addPDFURLRectIfNeeded(const PaintInfo&, const LayoutPoint& paintOffset);

Powered by Google App Engine
This is Rietveld 408576698