Index: webkit/plugins/ppapi/mock_platform_image_2d.cc |
=================================================================== |
--- webkit/plugins/ppapi/mock_platform_image_2d.cc (revision 167659) |
+++ webkit/plugins/ppapi/mock_platform_image_2d.cc (working copy) |
@@ -18,7 +18,7 @@ |
} |
skia::PlatformCanvas* MockPlatformImage2D::Map() { |
- return new skia::PlatformCanvas(width_, height_, true); |
+ return skia::CreatePlatformCanvas(width_, height_, true); |
} |
intptr_t MockPlatformImage2D::GetSharedMemoryHandle(uint32* byte_count) const { |