diff options
Diffstat (limited to 'chrome/browser/app_modal_dialog.cc')
-rw-r--r-- | chrome/browser/app_modal_dialog.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/app_modal_dialog.cc b/chrome/browser/app_modal_dialog.cc index dac60e4..91cffdd 100644 --- a/chrome/browser/app_modal_dialog.cc +++ b/chrome/browser/app_modal_dialog.cc @@ -36,8 +36,7 @@ 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 && |