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

Unified Diff: chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm

Issue 11111022: Remove TabContents from constrained windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unrelated gtk code Created 8 years, 2 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/cocoa/web_intent_picker_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm b/chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm
index b8d394a39a32be4e9dbee8507964bc7774d30b22..a7ba7bd2893709c42fea77679d181f250b87ef2e 100644
--- a/chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm
+++ b/chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm
@@ -110,7 +110,8 @@ WebIntentPickerCocoa::WebIntentPickerCocoa(TabContents* tab_contents,
ConstrainedPickerSheetDelegate* constrained_delegate =
new ConstrainedPickerSheetDelegate(this, sheet_controller_);
- window_ = new ConstrainedWindowMac(tab_contents, constrained_delegate);
+ window_ = new ConstrainedWindowMac(tab_contents->web_contents(),
+ constrained_delegate);
}
WebIntentPickerCocoa::~WebIntentPickerCocoa() {
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm ('k') | chrome/browser/ui/constrained_window_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698