add SkImage::newSurface
BUG=skia:
Review URL: https://codereview.chromium.org/741763002
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp
index d234c8c..da2d6b9 100644
--- a/tests/DeferredCanvasTest.cpp
+++ b/tests/DeferredCanvasTest.cpp
@@ -65,7 +65,7 @@
}
virtual SkImage* onNewImageSnapshot() SK_OVERRIDE {
- return SkNewImageFromBitmap(fBitmap, true);
+ return SkNewImageFromBitmap(fBitmap, true, &this->props());
}
virtual void onCopyOnWrite(ContentChangeMode mode) SK_OVERRIDE {