Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp |
index e6325a9332f143d6be9feb653e97be8565010f6f..3ab020a9f880b3752e362ac5e121fd7da50ef3e8 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp |
@@ -37,10 +37,10 @@ class FakeImageSource : public CanvasImageSource { |
public: |
FakeImageSource(IntSize, BitmapOpacity); |
- PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, AccelerationHint, SnapshotReason) const override; |
+ PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, AccelerationHint, SnapshotReason, const FloatSize&) const override; |
bool wouldTaintOrigin(SecurityOrigin* destinationSecurityOrigin) const override { return false; } |
- FloatSize elementSize() const override { return FloatSize(m_size); } |
+ FloatSize elementSize(const FloatSize&) const override { return FloatSize(m_size); } |
bool isOpaque() const override { return m_isOpaque; } |
~FakeImageSource() override { } |
@@ -61,7 +61,7 @@ FakeImageSource::FakeImageSource(IntSize size, BitmapOpacity opacity) |
m_image = StaticBitmapImage::create(image); |
} |
-PassRefPtr<Image> FakeImageSource::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint, SnapshotReason) const |
+PassRefPtr<Image> FakeImageSource::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint, SnapshotReason, const FloatSize&) const |
{ |
if (status) |
*status = NormalSourceImageStatus; |