Index: chrome/browser/printing/print_view_manager.cc |
=================================================================== |
--- chrome/browser/printing/print_view_manager.cc (revision 115435) |
+++ chrome/browser/printing/print_view_manager.cc (working copy) |
@@ -102,10 +102,10 @@ |
tab_controller->GetPrintPreviewForTab(tab_); |
if (print_preview_tab) { |
// Preview tab exist for current tab or current tab is preview tab. |
- if (!print_preview_tab->tab_contents()->web_ui()) |
+ if (!print_preview_tab->tab_contents()->GetWebUI()) |
return false; |
PrintPreviewUI* print_preview_ui = static_cast<PrintPreviewUI*>( |
- print_preview_tab->tab_contents()->web_ui()); |
+ print_preview_tab->tab_contents()->GetWebUI()); |
print_preview_ui->OnShowSystemDialog(); |
return true; |
} else { |