summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/tab_contents_container_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/tab_contents_container_view.cc')
-rw-r--r--chrome/browser/views/tab_contents_container_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/tab_contents_container_view.cc b/chrome/browser/views/tab_contents_container_view.cc
index 04c9354..4b721da 100644
--- a/chrome/browser/views/tab_contents_container_view.cc
+++ b/chrome/browser/views/tab_contents_container_view.cc
@@ -181,7 +181,7 @@ void TabContentsContainerView::AddObservers() {
// the focus subclass on the shown HWND so we intercept focus change events.
NotificationService::current()->AddObserver(
this, NotificationType::RENDER_VIEW_HOST_CHANGED,
- Source<NavigationController>(&tab_contents_->controller()));
+ Source<NavigationController>(tab_contents_->controller()));
}
NotificationService::current()->AddObserver(
this,
@@ -195,7 +195,7 @@ void TabContentsContainerView::RemoveObservers() {
NotificationService::current()->RemoveObserver(
this,
NotificationType::RENDER_VIEW_HOST_CHANGED,
- Source<NavigationController>(&tab_contents_->controller()));
+ Source<NavigationController>(tab_contents_->controller()));
}
NotificationService::current()->RemoveObserver(
this,