aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-24 18:51:43 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-24 18:51:43 +0000
commitd5f032d46baa42f836d06d7372fba8f022a20dfa (patch)
treed3f126d6eabc4f2ac7dda4884d68d92d8b19b19b /gm
parent3d305207bd40f4e5ae10010492420a2fdfa1153c (diff)
Do not define SK_SUPPORT_DEEPCOPYTO_CONFIG in Skia.
Clean up our callers who depend on the deprecated function. R=scroggo@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/178003003 git-svn-id: http://skia.googlecode.com/svn/trunk@13566 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r--gm/gmmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 662e981484..fb50b1e34e 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -1498,7 +1498,7 @@ static SkData* encode_to_dct_data(size_t*, const SkBitmap& bitmap) {
// Workaround bug #1043 where bitmaps with referenced pixels cause
// CGImageDestinationFinalize to crash
SkBitmap copy;
- bitmap.deepCopyTo(&copy, bitmap.config());
+ bitmap.deepCopyTo(&copy);
bm = copy;
#endif