| 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 baeadd6117d47913d0d9f3c9d62effe98390768b..d7201b67972e12f34b1952926abaf53e7c9637f3 100644
|
| --- a/chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm
|
| @@ -162,7 +162,8 @@ void WebIntentPickerCocoa::OnInlineDisposition(WebIntentPickerModel* model,
|
| content::WebContents* web_contents = content::WebContents::Create(
|
| browser_->profile(), NULL, MSG_ROUTING_NONE, NULL, NULL);
|
| inline_disposition_tab_contents_.reset(new TabContentsWrapper(web_contents));
|
| - inline_disposition_delegate_.reset(new WebIntentInlineDispositionDelegate);
|
| + inline_disposition_delegate_.reset(
|
| + new WebIntentInlineDispositionDelegate(this));
|
| web_contents->SetDelegate(inline_disposition_delegate_.get());
|
|
|
| // Must call this immediately after WebContents creation to avoid race
|
|
|