summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/print_preview_tab_controller_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/printing/print_preview_tab_controller_unittest.cc')
-rw-r--r--chrome/browser/printing/print_preview_tab_controller_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/printing/print_preview_tab_controller_unittest.cc b/chrome/browser/printing/print_preview_tab_controller_unittest.cc
index beb54b2..16b79df 100644
--- a/chrome/browser/printing/print_preview_tab_controller_unittest.cc
+++ b/chrome/browser/printing/print_preview_tab_controller_unittest.cc
@@ -88,7 +88,8 @@ TEST_F(PrintPreviewTabControllerUnitTest, TitleAfterReload) {
// Set up a PrintPreviewUI for |preview_tab|.
PrintPreviewUI* preview_ui = new PrintPreviewUI(preview_tab->tab_contents());
// RenderViewHostManager takes ownership of |preview_ui|.
- preview_tab->tab_contents()->render_manager()->SetWebUIPostCommit(preview_ui);
+ preview_tab->tab_contents()->render_manager_for_testing()->
+ SetWebUIPostCommit(preview_ui);
// Simulate a reload event on |preview_tab|.
scoped_ptr<NavigationEntry> entry;