| 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 3c634d9337561942424471301c2fab92d9329cbd..be62cea9a2fcf0a581abca872b34293c1d9ee49d 100644
|
| --- a/chrome/browser/printing/print_preview_tab_controller.cc
|
| +++ b/chrome/browser/printing/print_preview_tab_controller.cc
|
| @@ -410,7 +410,7 @@ void PrintPreviewTabController::AddObservers(TabContentsWrapper* tab) {
|
| content::Source<TabContents>(contents));
|
| registrar_.Add(
|
| this, content::NOTIFICATION_NAV_ENTRY_COMMITTED,
|
| - content::Source<NavigationController>(&contents->GetController()));
|
| + content::Source<NavigationController>(&contents->controller()));
|
|
|
| // Multiple sites may share the same RenderProcessHost, so check if this
|
| // notification has already been added.
|
| @@ -430,7 +430,7 @@ void PrintPreviewTabController::RemoveObservers(TabContentsWrapper* tab) {
|
| content::Source<TabContents>(contents));
|
| registrar_.Remove(
|
| this, content::NOTIFICATION_NAV_ENTRY_COMMITTED,
|
| - content::Source<NavigationController>(&contents->GetController()));
|
| + content::Source<NavigationController>(&contents->controller()));
|
|
|
| // Multiple sites may share the same RenderProcessHost, so check if this
|
| // notification has already been added.
|
|
|