aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-11-21 08:46:37 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-21 08:46:38 -0800
commit4af267b11964d4a8acdb232ac46094c84d890e88 (patch)
treed2fe846e9bc530cd0090b74a4096851a7ed7b9ea /tests
parent41d2c2e434d11e73f66c597913c29ea1fb3fa879 (diff)
add SkImage::newSurface
Diffstat (limited to 'tests')
-rw-r--r--tests/DeferredCanvasTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp
index d234c8ca27..da2d6b9dd3 100644
--- a/tests/DeferredCanvasTest.cpp
+++ b/tests/DeferredCanvasTest.cpp
@@ -65,7 +65,7 @@ public:
}
virtual SkImage* onNewImageSnapshot() SK_OVERRIDE {
- return SkNewImageFromBitmap(fBitmap, true);
+ return SkNewImageFromBitmap(fBitmap, true, &this->props());
}
virtual void onCopyOnWrite(ContentChangeMode mode) SK_OVERRIDE {