Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index 1907c612ecacacf8518e5a8eeac891195e1271ea..f866542ce15aa5e9a198d7ff7bcc42d14ae37128 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -148,8 +148,9 @@ class DragImageBuilder { |
// Rasterize upfront, since DragImage::create() is going to do it anyway |
// (SkImage::asLegacyBitmap). |
- sk_sp<SkSurface> surface = |
- SkSurface::MakeRasterN32Premul(m_bounds.width(), m_bounds.height()); |
+ SkSurfaceProps surfaceProps(0, kUnknown_SkPixelGeometry); |
+ sk_sp<SkSurface> surface = SkSurface::MakeRasterN32Premul( |
+ m_bounds.width(), m_bounds.height(), &surfaceProps); |
if (!surface) |
return nullptr; |