Index: third_party/WebKit/Source/core/layout/LayoutImageResource.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutImageResource.h b/third_party/WebKit/Source/core/layout/LayoutImageResource.h |
index a4d99bafefd4009056c99ac61d6612b3e1c1770e..788e7949e0c5a5794722c6dc6fff3752b5f068cd 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutImageResource.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutImageResource.h |
@@ -53,8 +53,9 @@ public: |
virtual bool hasImage() const { return m_cachedImage; } |
void resetAnimation(); |
+ bool maybeAnimated() const; |
- virtual PassRefPtr<Image> image(int /* width */ = 0, int /* height */ = 0) const |
+ virtual PassRefPtr<Image> image(const IntSize&) const |
{ |
return m_cachedImage ? m_cachedImage->imageForLayoutObject(m_layoutObject) : Image::nullImage(); |
} |