| Index: ui/base/dragdrop/drag_utils_win.cc
|
| diff --git a/ui/base/dragdrop/drag_utils_win.cc b/ui/base/dragdrop/drag_utils_win.cc
|
| index 1921338f5a2a28cd35559fc185187dd285f92410..f1862b02fb7af3abab67ab1f6455fed61dbff4b1 100644
|
| --- a/ui/base/dragdrop/drag_utils_win.cc
|
| +++ b/ui/base/dragdrop/drag_utils_win.cc
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/win/scoped_comptr.h"
|
| #include "base/win/scoped_hdc.h"
|
| +#include "skia/ext/skia_utils_win.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "ui/base/dragdrop/os_exchange_data.h"
|
| #include "ui/base/dragdrop/os_exchange_data_provider_win.h"
|
| @@ -44,7 +45,7 @@ static void SetDragImageOnDataObject(HBITMAP hbitmap,
|
| static HBITMAP CreateHBITMAPFromSkBitmap(const SkBitmap& sk_bitmap) {
|
| base::win::ScopedGetDC screen_dc(NULL);
|
| BITMAPINFOHEADER header;
|
| - gfx::CreateBitmapHeader(sk_bitmap.width(), sk_bitmap.height(), &header);
|
| + skia::CreateBitmapHeader(sk_bitmap.width(), sk_bitmap.height(), &header);
|
| void* bits;
|
| HBITMAP bitmap =
|
| CreateDIBSection(screen_dc, reinterpret_cast<BITMAPINFO*>(&header),
|
|
|