diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-27 21:30:37 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-27 21:30:37 +0000 |
commit | 466f5f3e44e703ca58b43ac1c4ac3bfa0e1ff024 (patch) | |
tree | a949f7be24c6d07ce5ebdcec046fc9ef3600680c /gm | |
parent | 300c4293f52785adbaab9e5cb73301f802a2b0d6 (diff) |
remove SkBitmap::asImageInfo
BUG=skia:
R=scroggo@google.com, halcanary@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/305483005
git-svn-id: http://skia.googlecode.com/svn/trunk@14909 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/gmmain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 5c91204dfd..4833975aef 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -561,8 +561,7 @@ public: bool deferred) { SkISize size (gm->getISize()); setup_bitmap(gRec, size, bitmap); - SkImageInfo info; - bitmap->asImageInfo(&info); + const SkImageInfo info = bitmap->info(); SkAutoTUnref<SkSurface> surface; SkAutoTUnref<SkCanvas> canvas; |