Index: chrome/browser/ui/web_applications/web_app_ui.cc |
diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc |
index 5d08a2f9f3c78d3edf1d9ca96d0fc6d3e2db0a4a..225fd85c58edbfec33af4a8aad6d35c61be3b849 100644 |
--- a/chrome/browser/ui/web_applications/web_app_ui.cc |
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc |
@@ -104,7 +104,7 @@ UpdateShortcutWorker::UpdateShortcutWorker(TabContentsWrapper* tab_contents) |
this, |
content::NOTIFICATION_TAB_CLOSING, |
content::Source<NavigationController>( |
- &tab_contents_->tab_contents()->GetController())); |
+ &tab_contents_->tab_contents()->controller())); |
} |
void UpdateShortcutWorker::Run() { |
@@ -118,7 +118,7 @@ void UpdateShortcutWorker::Observe( |
const content::NotificationDetails& details) { |
if (type == content::NOTIFICATION_TAB_CLOSING && |
content::Source<NavigationController>(source).ptr() == |
- &tab_contents_->tab_contents()->GetController()) { |
+ &tab_contents_->tab_contents()->controller()) { |
// Underlying tab is closing. |
tab_contents_ = NULL; |
} |