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

Unified Diff: chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm

Issue 2034163002: Remove unnecessary function ChromeExtensionChooserDialog::web_contents() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed web_contents() accessor Created 4 years, 6 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
« no previous file with comments | « chrome/browser/extensions/chrome_extension_chooser_dialog.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm b/chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm
index a953016731a293e93f8c47c79aa5d70254922901..2e7a2c2cfaa8f32cbadb5e76ba000201d4cfcb7d 100644
--- a/chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm
+++ b/chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm
@@ -65,11 +65,11 @@ void ChooserDialogCocoa::Dismissed() {
void ChromeExtensionChooserDialog::ShowDialog(
ChooserController* chooser_controller) const {
web_modal::WebContentsModalDialogManager* manager =
- web_modal::WebContentsModalDialogManager::FromWebContents(web_contents());
+ web_modal::WebContentsModalDialogManager::FromWebContents(web_contents_);
if (manager) {
// These objects will delete themselves when the dialog closes.
ChooserDialogCocoa* chooser_dialog =
- new ChooserDialogCocoa(web_contents(), chooser_controller);
+ new ChooserDialogCocoa(web_contents_, chooser_controller);
chooser_dialog->ShowDialog();
}
}
« no previous file with comments | « chrome/browser/extensions/chrome_extension_chooser_dialog.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698