Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Unified Diff: webkit/plugins/ppapi/mock_platform_image_2d.cc

Issue 11138024: Simplify platform_canvas.h by recognizing that PlatformCanvas does not actually extend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/mock_platform_image_2d.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « webkit/plugins/ppapi/mock_platform_image_2d.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698