| Index: tools/render_pdfs_main.cpp
|
| diff --git a/tools/render_pdfs_main.cpp b/tools/render_pdfs_main.cpp
|
| index 07c894f7536bda2af8a622cb72d652793e3e9927..7790e2a4e76f9a038f7a189015e69f5e23395af9 100644
|
| --- a/tools/render_pdfs_main.cpp
|
| +++ b/tools/render_pdfs_main.cpp
|
| @@ -93,7 +93,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
|
|
|
|
|