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

Unified Diff: chrome/browser/download/download_util.cc

Issue 10447053: Converts remainder of ui and chrome/browser/ui/views/frame to use ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sorted headers in modified files Created 8 years, 7 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/download/download_util.cc
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index 5c6d03c0104a7d3769b1f483f16dfa903a737933..4d2e3ca229ca2bf5208a45a5a6fc2b36e37daeba 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -59,9 +59,9 @@
#endif
#if defined(TOOLKIT_VIEWS)
+#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/base/dragdrop/drag_utils.h"
#include "ui/base/dragdrop/os_exchange_data.h"
-#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/gfx/screen.h"
#include "ui/views/widget/widget.h"
#endif
@@ -387,7 +387,7 @@ void DragDownload(const DownloadItem* download,
if (icon) {
drag_utils::CreateDragImageForFile(
- download->GetFileNameToReportUser(), icon->ToSkBitmap(), &data);
+ download->GetFileNameToReportUser(), icon->ToImageSkia(), &data);
}
const FilePath full_path = download->GetFullPath();

Powered by Google App Engine
This is Rietveld 408576698