| Index: chrome/browser/ui/webui/downloads_dom_handler.cc
|
| diff --git a/chrome/browser/ui/webui/downloads_dom_handler.cc b/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| index bad5ef5342e31b272b6302543ad62e0f75311f11..d10d8e6ea3e21058cda65ae2a1fa6bccf9425349 100644
|
| --- a/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| +++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| @@ -26,7 +26,7 @@
|
| #include "chrome/browser/download/download_util.h"
|
| #include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| #include "chrome/browser/ui/webui/fileicon_source.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -364,8 +364,7 @@ void DownloadsDOMHandler::ShowDangerPrompt(
|
| content::DownloadItem* dangerous_item) {
|
| DownloadDangerPrompt* danger_prompt = DownloadDangerPrompt::Create(
|
| dangerous_item,
|
| - TabContentsWrapper::GetCurrentWrapperForContents(
|
| - web_ui()->GetWebContents()),
|
| + TabContents::FromWebContents(web_ui()->GetWebContents()),
|
| base::Bind(&DownloadsDOMHandler::DangerPromptAccepted,
|
| weak_ptr_factory_.GetWeakPtr(), dangerous_item->GetId()),
|
| base::Closure());
|
|
|