| Index: third_party/WebKit/Source/platform/DragImage.cpp
|
| diff --git a/third_party/WebKit/Source/platform/DragImage.cpp b/third_party/WebKit/Source/platform/DragImage.cpp
|
| index 7b2dad8b0ac680ed1f0ec6d61f3d3078bb5758f7..91029a5577d016ea0e0a09cf526fc43a62d620e1 100644
|
| --- a/third_party/WebKit/Source/platform/DragImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/DragImage.cpp
|
| @@ -37,6 +37,7 @@
|
| #include "platform/graphics/BitmapImage.h"
|
| #include "platform/graphics/Color.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| +#include "platform/graphics/GraphicsScreen.h"
|
| #include "platform/graphics/Image.h"
|
| #include "platform/graphics/ImageBuffer.h"
|
| #include "platform/graphics/paint/DrawingRecorder.h"
|
| @@ -140,6 +141,9 @@ PassOwnPtr<DragImage> DragImage::create(Image* image,
|
| if (!image)
|
| return nullptr;
|
|
|
| + if (imageColorProfilesEnabled() && image->isBitmapImage() && toBitmapImage(image)->hasColorProfile())
|
| + toBitmapImage(image)->notifyDeviceProfile(screenColorProfile(currentScreenId()).get());
|
| +
|
| RefPtr<SkImage> skImage = image->imageForCurrentFrame();
|
| if (!skImage)
|
| return nullptr;
|
|
|