Index: src/utils/SkDeferredCanvas.cpp |
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp |
index cce5dde538333a5a097ca692b0f01728aab4ba16..c8402dda4a4e666b3d3ed9f0fedcc32ac7d91bdc 100644 |
--- a/src/utils/SkDeferredCanvas.cpp |
+++ b/src/utils/SkDeferredCanvas.cpp |
@@ -161,7 +161,7 @@ public: |
virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; |
- virtual SkSurface* newSurface(const SkImageInfo&) SK_OVERRIDE; |
+ virtual SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) SK_OVERRIDE; |
protected: |
virtual const SkBitmap& onAccessBitmap() SK_OVERRIDE; |
@@ -474,8 +474,8 @@ SkBaseDevice* SkDeferredDevice::onCreateDevice(const SkImageInfo& info, Usage us |
return immediateDevice()->createCompatibleDevice(info); |
} |
-SkSurface* SkDeferredDevice::newSurface(const SkImageInfo& info) { |
- return this->immediateDevice()->newSurface(info); |
+SkSurface* SkDeferredDevice::newSurface(const SkImageInfo& info, const SkSurfaceProps& props) { |
+ return this->immediateDevice()->newSurface(info, props); |
} |
bool SkDeferredDevice::onReadPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, |