Index: ui/base/dragdrop/os_exchange_data_provider_win.cc |
diff --git a/ui/base/dragdrop/os_exchange_data_provider_win.cc b/ui/base/dragdrop/os_exchange_data_provider_win.cc |
index 7657d3af196fa2833a3589c8e9094009379f6cd1..3fa651b0c716e567a9837f76acb16a6a86dcbfdb 100644 |
--- a/ui/base/dragdrop/os_exchange_data_provider_win.cc |
+++ b/ui/base/dragdrop/os_exchange_data_provider_win.cc |
@@ -579,10 +579,7 @@ void OSExchangeDataProviderWin::SetDragImage( |
if (!hbitmap) |
return; |
- { |
- SkAutoLockPixels lock(unpremul_bitmap); |
- memcpy(bits, unpremul_bitmap.getPixels(), height * rowbytes); |
- } |
+ memcpy(bits, unpremul_bitmap.getPixels(), height * rowbytes); |
base::win::ScopedComPtr<IDragSourceHelper> helper; |
HRESULT rv = CoCreateInstance(CLSID_DragDropHelper, 0, CLSCTX_INPROC_SERVER, |