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

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

Issue 1160643004: Fix cull rect computation for SVG{Container,Image,Shape}Painter outlines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/core/paint/ObjectPainter.cpp » ('j') | Source/core/paint/ObjectPainter.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ObjectPainter.h
diff --git a/Source/core/paint/ObjectPainter.h b/Source/core/paint/ObjectPainter.h
index aabdb82b234dd75ec134a9d96f1c902c34c2ad19..555e3161f2ac7e0cac960b9949b1669a5f605636 100644
--- a/Source/core/paint/ObjectPainter.h
+++ b/Source/core/paint/ObjectPainter.h
@@ -27,6 +27,9 @@ public:
void addPDFURLRectIfNeeded(const PaintInfo&, const LayoutPoint& paintOffset);
static void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, BoxSide, Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false);
+
+ static LayoutRect outlineBounds(const LayoutRect& objectBounds, const ComputedStyle&);
+
private:
static void drawDashedOrDottedBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
BoxSide, Color, int thickness, EBorderStyle, bool antialias);
« no previous file with comments | « no previous file | Source/core/paint/ObjectPainter.cpp » ('j') | Source/core/paint/ObjectPainter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698