Index: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp |
index e38d85f0be71a481f8723dfa554457278ae03dd8..eaf78c12c13e60516caa657c7c8b9c57bc268a94 100644 |
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp |
@@ -46,7 +46,7 @@ UnacceleratedImageBufferSurface::UnacceleratedImageBufferSurface(const IntSize& |
SkSurfaceProps disableLCDProps(0, kUnknown_SkPixelGeometry); |
m_surface = adoptRef(SkSurface::NewRaster(info, Opaque == opacityMode ? 0 : &disableLCDProps)); |
- if (initializationMode == DoNotInitializeImagePixels) { |
+ if (initializationMode == InitializeImagePixels) { |
xidachen
2015/10/18 14:08:48
Correct. Thank you for catching this. I believe th
|
if (m_surface) |
clear(); |
} |