diff options
Diffstat (limited to 'chrome/browser/gtk/tab_contents_container_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/tab_contents_container_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/tab_contents_container_gtk.cc b/chrome/browser/gtk/tab_contents_container_gtk.cc index 9e73389..086d5c0 100644 --- a/chrome/browser/gtk/tab_contents_container_gtk.cc +++ b/chrome/browser/gtk/tab_contents_container_gtk.cc @@ -79,7 +79,7 @@ void TabContentsContainerGtk::AddObservers() { // we crash after that NOTIMPLEMENTED(), we'll need it. NotificationService::current()->AddObserver( this, NotificationType::RENDER_VIEW_HOST_CHANGED, - Source<NavigationController>(tab_contents_->controller())); + Source<NavigationController>(&tab_contents_->controller())); } NotificationService::current()->AddObserver( this, @@ -93,7 +93,7 @@ void TabContentsContainerGtk::RemoveObservers() { NotificationService::current()->RemoveObserver( this, NotificationType::RENDER_VIEW_HOST_CHANGED, - Source<NavigationController>(tab_contents_->controller())); + Source<NavigationController>(&tab_contents_->controller())); } NotificationService::current()->RemoveObserver( this, |