| Index: third_party/WebKit/Source/core/paint/ImagePainter.h
|
| diff --git a/third_party/WebKit/Source/core/paint/ImagePainter.h b/third_party/WebKit/Source/core/paint/ImagePainter.h
|
| index fce4d6185bb065dcd7e4ef16367f7c2f03af664b..287dc59e35745fc2d387b57443e48cbc19b65fc2 100644
|
| --- a/third_party/WebKit/Source/core/paint/ImagePainter.h
|
| +++ b/third_party/WebKit/Source/core/paint/ImagePainter.h
|
| @@ -22,7 +22,10 @@ public:
|
|
|
| void paint(const PaintInfo&, const LayoutPoint& paintOffset);
|
| void paintReplaced(const PaintInfo&, const LayoutPoint& paintOffset);
|
| - void paintIntoRect(GraphicsContext&, const LayoutRect&);
|
| +
|
| + // Paint the image into |destRect|, after clipping by |contentRect|. Both |destRect| and
|
| + // |contentRect| should be in local coordinates plus the paint offset.
|
| + void paintIntoRect(GraphicsContext&, const LayoutRect& destRect, const LayoutRect& contentRect);
|
|
|
| private:
|
| void paintAreaElementFocusRing(const PaintInfo&, const LayoutPoint& paintOffset);
|
|
|