Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: gm/gmmain.cpp

Issue 178003003: Do not define SK_SUPPORT_DEEPCOPYTO_CONFIG in Skia. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix error of unused-function Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/core/SkBitmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gmmain.cpp
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 662e9814840b676dd2035b9948bae488cc96dbd8..fb50b1e34eddf34867e909279adfb67fe1d7aef5 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
« no previous file with comments | « no previous file | include/core/SkBitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698