Chromium Code Reviews| Index: chrome/browser/printing/print_view_manager.cc |
| =================================================================== |
| --- chrome/browser/printing/print_view_manager.cc (revision 117871) |
| +++ chrome/browser/printing/print_view_manager.cc (working copy) |
| @@ -105,7 +105,7 @@ |
| if (!print_preview_tab->web_contents()->GetWebUI()) |
| return false; |
| PrintPreviewUI* print_preview_ui = static_cast<PrintPreviewUI*>( |
| - print_preview_tab->web_contents()->GetWebUI()); |
| + print_preview_tab->web_contents()->GetWebUI()->GetController()); |
| print_preview_ui->OnShowSystemDialog(); |
| return true; |
| } else { |