| Index: chrome/browser/ui/gtk/web_intent_picker_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/web_intent_picker_gtk.cc b/chrome/browser/ui/gtk/web_intent_picker_gtk.cc
|
| index cf7b7fe1872d3247817aa2a5f87d9a870d37f284..5d19138aba75f90691e7952e71e629e0b8b25b45 100644
|
| --- a/chrome/browser/ui/gtk/web_intent_picker_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/web_intent_picker_gtk.cc
|
| @@ -192,7 +192,8 @@ void WebIntentPickerGtk::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
|
|
|