summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_modal_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/app_modal_dialog.cc')
-rw-r--r--chrome/browser/app_modal_dialog.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/app_modal_dialog.cc b/chrome/browser/app_modal_dialog.cc
index 91cffdd..dac60e4 100644
--- a/chrome/browser/app_modal_dialog.cc
+++ b/chrome/browser/app_modal_dialog.cc
@@ -36,7 +36,8 @@ void AppModalDialog::Observe(NotificationType type,
return;
if (type == NotificationType::NAV_ENTRY_COMMITTED &&
- Source<NavigationController>(source).ptr() == web_contents_->controller())
+ Source<NavigationController>(source).ptr() ==
+ &web_contents_->controller())
web_contents_ = NULL;
if (type == NotificationType::TAB_CONTENTS_DESTROYED &&