Chromium Code Reviews| 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..20c4ea152ddec94172ed03aadf11c2efa3efca74 100644 |
| --- a/third_party/WebKit/Source/core/paint/ImagePainter.h |
| +++ b/third_party/WebKit/Source/core/paint/ImagePainter.h |
| @@ -22,7 +22,9 @@ public: |
| void paint(const PaintInfo&, const LayoutPoint& paintOffset); |
| void paintReplaced(const PaintInfo&, const LayoutPoint& paintOffset); |
| - void paintIntoRect(GraphicsContext&, const LayoutRect&); |
| + |
| + // Paint the full image into the dest, after clipping by the content rect. |
|
chrishtr
2016/07/11 18:11:24
"into |destRect|, after clipping by |contentRect|"
pdr.
2016/07/11 19:58:17
Done.
|
| + void paintIntoRect(GraphicsContext&, const LayoutRect& destRect, const LayoutRect& contentRect); |
| private: |
| void paintAreaElementFocusRing(const PaintInfo&, const LayoutPoint& paintOffset); |