Index: Source/core/paint/ObjectPainter.h |
diff --git a/Source/core/paint/ObjectPainter.h b/Source/core/paint/ObjectPainter.h |
index 555e3161f2ac7e0cac960b9949b1669a5f605636..a380fbec6360211aef3a2cdb0f8f53924afa668f 100644 |
--- a/Source/core/paint/ObjectPainter.h |
+++ b/Source/core/paint/ObjectPainter.h |
@@ -14,6 +14,7 @@ class Color; |
class GraphicsContext; |
class LayoutPoint; |
class LayoutRect; |
+class LayoutSize; |
struct PaintInfo; |
class LayoutObject; |
class ComputedStyle; |
@@ -22,14 +23,12 @@ class ObjectPainter { |
public: |
ObjectPainter(LayoutObject& layoutObject) : m_layoutObject(layoutObject) { } |
- void paintOutline(const PaintInfo&, const LayoutRect& objectBounds, const LayoutRect& visualOverflowBounds); |
+ void paintOutline(const PaintInfo&, const LayoutRect& visualOverflowRect, const LayoutSize& objectSize, const LayoutPoint& paintOffset); |
void paintFocusRing(const PaintInfo&, const ComputedStyle&, const Vector<LayoutRect>& focusRingRects); |
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); |