Index: src/image/SkImage_Raster.cpp |
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp |
index 9c90ba908b1fdc46b0b5ea7357636919d71e7216..ae4aed40164e1da160756e7a8a6862cf5af537b9 100644 |
--- a/src/image/SkImage_Raster.cpp |
+++ b/src/image/SkImage_Raster.cpp |
@@ -69,7 +69,7 @@ public: |
bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY) const override; |
const void* onPeekPixels(SkImageInfo*, size_t* /*rowBytes*/) const override; |
SkData* onRefEncoded() const override; |
- bool getROPixels(SkBitmap*) const override; |
+ bool getROPixels(SkBitmap*, SkScalar = SK_Scalar1) const override; |
GrTexture* asTextureRef(GrContext*, const GrTextureParams&) const override; |
SkImage* onNewSubset(const SkIRect&) const override; |
@@ -162,7 +162,7 @@ SkData* SkImage_Raster::onRefEncoded() const { |
return nullptr; |
} |
-bool SkImage_Raster::getROPixels(SkBitmap* dst) const { |
+bool SkImage_Raster::getROPixels(SkBitmap* dst, SkScalar scaleHint) const { |
*dst = fBitmap; |
return true; |
} |