Index: third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
index d6791c0627d75337688d4d215956dba7f38eb15b..fa6588c558c6726e7c2dce9528f2a4d1196f445b 100644 |
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
@@ -349,7 +349,7 @@ void ImageBitmap::notifyImageSourceChanged() |
{ |
} |
-PassRefPtr<Image> ImageBitmap::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint, SnapshotReason) const |
+PassRefPtr<Image> ImageBitmap::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint, SnapshotReason, const FloatSize&) const |
{ |
*status = NormalSourceImageStatus; |
return m_image ? m_image : nullptr; |
@@ -359,7 +359,7 @@ void ImageBitmap::adjustDrawRects(FloatRect* srcRect, FloatRect* dstRect) const |
{ |
} |
-FloatSize ImageBitmap::elementSize() const |
+FloatSize ImageBitmap::elementSize(const FloatSize&) const |
{ |
return FloatSize(width(), height()); |
} |