| 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 1958a78530dff1e0c60073739bc9c82bc41d6584..8d0450350e4df762ee582cfca69aa463a9f71d8d 100644
|
| --- a/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| +++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| @@ -17,7 +17,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/browser_process.h"
|
| -#include "chrome/browser/download/chrome_download_manager_delegate.h"
|
| +#include "chrome/browser/download/download_crx_util.h"
|
| #include "chrome/browser/download/download_danger_prompt.h"
|
| #include "chrome/browser/download/download_history.h"
|
| #include "chrome/browser/download/download_prefs.h"
|
| @@ -213,7 +213,7 @@ void DownloadsDOMHandler::ModelChanged(content::DownloadManager* manager) {
|
|
|
| // Remove any extension downloads.
|
| for (size_t i = 0; i < download_items_.size();) {
|
| - if (ChromeDownloadManagerDelegate::IsExtensionDownload(download_items_[i]))
|
| + if (download_crx_util::IsExtensionDownload(*download_items_[i]))
|
| download_items_.erase(download_items_.begin() + i);
|
| else
|
| i++;
|
|
|