Index: Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp |
index d4cfec068531bfc6af789a6234b2ea02cd898210..c63976e57872473540af3693c2c8f09581c5a9c7 100644 |
--- a/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/Source/platform/graphics/GraphicsLayer.cpp |
@@ -930,7 +930,7 @@ void GraphicsLayer::setContentsToImage(Image* image) |
m_imageLayer = adoptPtr(Platform::current()->compositorSupport()->createImageLayer()); |
registerContentsLayer(m_imageLayer->layer()); |
} |
- m_imageLayer->setBitmap(nativeImage->bitmap()); |
+ m_imageLayer->setImageBitmap(nativeImage->bitmap()); |
m_imageLayer->layer()->setOpaque(image->currentFrameKnownToBeOpaque()); |
updateContentsRect(); |
} else { |