| Index: chrome/browser/printing/print_preview_tab_controller.cc
|
| diff --git a/chrome/browser/printing/print_preview_tab_controller.cc b/chrome/browser/printing/print_preview_tab_controller.cc
|
| index 1b13f99067c37574862b97b223486d7eba1b03d3..675c224d6d2b06f23e5d0848ed6453ff54c9d0a0 100644
|
| --- a/chrome/browser/printing/print_preview_tab_controller.cc
|
| +++ b/chrome/browser/printing/print_preview_tab_controller.cc
|
| @@ -277,7 +277,7 @@ void PrintPreviewTabController::Observe(
|
| case content::NOTIFICATION_NAV_ENTRY_COMMITTED: {
|
| NavigationController* controller =
|
| content::Source<NavigationController>(source).ptr();
|
| - TabContents* tab = TabContents::GetCurrentWrapperForContents(
|
| + TabContents* tab = TabContents::FromWebContents(
|
| controller->GetWebContents());
|
| content::LoadCommittedDetails* load_details =
|
| content::Details<content::LoadCommittedDetails>(details).ptr();
|
|
|