Chromium Code Reviews| Index: printing/image_win.cc |
| diff --git a/printing/image_win.cc b/printing/image_win.cc |
| index c4bc1a7f8c534700e31b2f06595a7461e19aa4b9..be089dcb7196e4a77ebf3c65ee18fa2473085ffd 100644 |
| --- a/printing/image_win.cc |
| +++ b/printing/image_win.cc |
| @@ -45,7 +45,7 @@ class DisableFontSmoothing { |
| namespace printing { |
| bool Image::LoadMetafile(const NativeMetafile& metafile) { |
| - gfx::Rect rect(metafile.GetBounds()); |
| + gfx::Rect rect(metafile.GetPageBounds(1)); |
| DisableFontSmoothing disable_in_this_scope; |
| // Create a temporary HDC and bitmap to retrieve the rendered data. |