Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2647)

Unified Diff: chrome/browser/ui/web_contents_modal_dialog_manager.cc

Issue 12221055: Use a uniform opaque type to represent web contents modal dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable unused webui certificate viewer on linux Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/web_contents_modal_dialog_manager.cc
diff --git a/chrome/browser/ui/web_contents_modal_dialog_manager.cc b/chrome/browser/ui/web_contents_modal_dialog_manager.cc
index 819580e7bce499ebd2efb08300e100db2c56e197..c9dd7cdb8304aef0da34eba9febfca69b690f1ff 100644
--- a/chrome/browser/ui/web_contents_modal_dialog_manager.cc
+++ b/chrome/browser/ui/web_contents_modal_dialog_manager.cc
@@ -26,7 +26,7 @@ void WebContentsModalDialogManager::AddDialog(
child_dialogs_.push_back(dialog);
if (native_manager_)
- native_manager_->ManageDialog(dialog->GetNativeWindow());
+ native_manager_->ManageDialog(dialog->GetNativeDialog());
if (child_dialogs_.size() == 1) {
dialog->ShowWebContentsModalDialog();
« no previous file with comments | « chrome/browser/ui/web_contents_modal_dialog.h ('k') | chrome/browser/ui/web_contents_modal_dialog_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698