| Index: chrome/browser/ui/web_applications/web_app_ui.cc
|
| ===================================================================
|
| --- chrome/browser/ui/web_applications/web_app_ui.cc (revision 116288)
|
| +++ chrome/browser/ui/web_applications/web_app_ui.cc (working copy)
|
| @@ -28,6 +28,7 @@
|
| #endif
|
|
|
| using content::BrowserThread;
|
| +using content::NavigationController;
|
|
|
| namespace {
|
|
|
| @@ -103,7 +104,7 @@
|
| registrar_.Add(
|
| this,
|
| content::NOTIFICATION_TAB_CLOSING,
|
| - content::Source<content::NavigationController>(
|
| + content::Source<NavigationController>(
|
| &tab_contents_->web_contents()->GetController()));
|
| }
|
|
|
| @@ -117,7 +118,7 @@
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| if (type == content::NOTIFICATION_TAB_CLOSING &&
|
| - content::Source<content::NavigationController>(source).ptr() ==
|
| + content::Source<NavigationController>(source).ptr() ==
|
| &tab_contents_->web_contents()->GetController()) {
|
| // Underlying tab is closing.
|
| tab_contents_ = NULL;
|
|
|