aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/factory.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-09-25 06:56:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-25 06:56:57 -0700
commitd114645d931d4e95a938597a45a270f211273c17 (patch)
tree195585704f873e84248a8c44e80c366025066ba2 /gm/factory.cpp
parent57b767127f88b4794f7e42e659b585b3b82203c5 (diff)
SkInstallDiscardablePixelRef is deprecated, enforce that
No functionality change, just a renaming. BUG=skia: TBR= Review URL: https://codereview.chromium.org/1372593002
Diffstat (limited to 'gm/factory.cpp')
-rw-r--r--gm/factory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gm/factory.cpp b/gm/factory.cpp
index 66cb65ee24..4d36574daa 100644
--- a/gm/factory.cpp
+++ b/gm/factory.cpp
@@ -36,7 +36,8 @@ protected:
// bitmap is unlocked.
SkAutoTUnref<SkDiscardableMemoryPool> pool(
SkDiscardableMemoryPool::Create(1));
- SkAssertResult(SkInstallDiscardablePixelRef(SkImageGenerator::NewFromEncoded(data),
+ SkAssertResult(SkDEPRECATED_InstallDiscardablePixelRef(
+ SkImageGenerator::NewFromEncoded(data),
nullptr, &fBitmap, pool));
}
}