summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/layout_image_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/layout_image_resource.h')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/layout_image_resource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/layout_image_resource.h b/chromium/third_party/blink/renderer/core/layout/layout_image_resource.h
index ffd214d18ec..27ce0cc37a1 100644
--- a/chromium/third_party/blink/renderer/core/layout/layout_image_resource.h
+++ b/chromium/third_party/blink/renderer/core/layout/layout_image_resource.h
@@ -56,7 +56,8 @@ class CORE_EXPORT LayoutImageResource
void ResetAnimation();
bool MaybeAnimated() const;
- virtual scoped_refptr<Image> GetImage(const LayoutSize&) const;
+ virtual scoped_refptr<Image> GetImage(const FloatSize&) const;
+ scoped_refptr<Image> GetImage(const IntSize&) const;
virtual bool ErrorOccurred() const {
return cached_image_ && cached_image_->ErrorOccurred();
}