Chromium Code Reviews| Index: chrome/renderer/print_web_view_helper.cc |
| =================================================================== |
| --- chrome/renderer/print_web_view_helper.cc (revision 144719) |
| +++ chrome/renderer/print_web_view_helper.cc (working copy) |
| @@ -428,6 +428,9 @@ |
| // TODO(arthurhsu): Following code works on Windows only so far. |
| // See crbug.com/108599 and its blockers for more information. |
| scoped_ptr<gfx::RenderText> render_text(gfx::RenderText::CreateRenderText()); |
| + // TODO(asvitkine): The below line is to workaround http://crbug.com/133548. |
| + // Remove it when the underlying Skia bug has been fixed. |
|
vandebo (ex-Chrome)
2012/06/28 18:07:27
nit: "Remove" should align with "TODO"
Alexei Svitkine (slow)
2012/06/28 18:29:19
Done.
|
| + render_text->set_clip_to_display_rect(false); |
| render_text->SetText(text); |
| int font_size = printing::kSettingHeaderFooterFontSize / webkit_scale_factor; |
| render_text->SetFontSize(font_size); |