Index: Source/WebCore/platform/graphics/skia/ImageBufferSkia.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/skia/ImageBufferSkia.cpp (revision 111761) |
+++ Source/WebCore/platform/graphics/skia/ImageBufferSkia.cpp (working copy) |
@@ -152,7 +152,8 @@ |
PassRefPtr<Image> ImageBuffer::copyImage(BackingStoreCopy copyBehavior) const |
{ |
- return BitmapImageSingleFrameSkia::create(*m_data.m_platformContext.bitmap(), copyBehavior == CopyBackingStore); |
+ ASSERT(copyBehavior == CopyBackingStore); |
+ return BitmapImageSingleFrameSkia::create(*m_data.m_platformContext.bitmap(), true); |
} |
PlatformLayer* ImageBuffer::platformLayer() const |