Chromium Code Reviews| 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(©, bitmap.config()); |
| + bitmap.deepCopyTo(©); |
| bm = copy; |
| #endif |