| Index: Source/core/paint/ImagePainter.h
|
| diff --git a/Source/core/paint/ImagePainter.h b/Source/core/paint/ImagePainter.h
|
| index f7097e3842e7dcc9198293ef541c276d7da63bff..113dbf461ab31e446791ec5e60c7607bfac4f5ef 100644
|
| --- a/Source/core/paint/ImagePainter.h
|
| +++ b/Source/core/paint/ImagePainter.h
|
| @@ -5,20 +5,21 @@
|
| #ifndef ImagePainter_h
|
| #define ImagePainter_h
|
|
|
| +#include "platform/weborigin/KURL.h"
|
| #include "wtf/Allocator.h"
|
|
|
| namespace blink {
|
|
|
| class GraphicsContext;
|
| -struct PaintInfo;
|
| +class LayoutImage;
|
| class LayoutPoint;
|
| class LayoutRect;
|
| -class LayoutImage;
|
| +struct PaintInfo;
|
|
|
| class ImagePainter {
|
| STACK_ALLOCATED();
|
| public:
|
| - ImagePainter(LayoutImage& layoutImage) : m_layoutImage(layoutImage) { }
|
| + ImagePainter(LayoutImage& layoutImage, const KURL& url) : m_layoutImage(layoutImage), m_url(url) { }
|
|
|
| void paint(const PaintInfo&, const LayoutPoint& paintOffset);
|
| void paintReplaced(const PaintInfo&, const LayoutPoint& paintOffset);
|
| @@ -28,6 +29,7 @@ private:
|
| void paintAreaElementFocusRing(const PaintInfo&, const LayoutPoint& paintOffset);
|
|
|
| LayoutImage& m_layoutImage;
|
| + KURL m_url;
|
| };
|
|
|
| } // namespace blink
|
|
|