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

Unified Diff: ppapi/proxy/ppb_image_data_proxy.h

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 | « content/test/mock_render_process.cc ('k') | ppapi/proxy/ppb_image_data_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_image_data_proxy.h
===================================================================
--- ppapi/proxy/ppb_image_data_proxy.h (revision 167659)
+++ ppapi/proxy/ppb_image_data_proxy.h (working copy)
@@ -57,7 +57,7 @@
virtual void* Map() OVERRIDE;
virtual void Unmap() OVERRIDE;
virtual int32_t GetSharedMemory(int* handle, uint32_t* byte_count) OVERRIDE;
- virtual skia::PlatformCanvas* GetPlatformCanvas() OVERRIDE;
+ virtual SkCanvas* GetPlatformCanvas() OVERRIDE;
virtual SkCanvas* GetCanvas() OVERRIDE;
const PP_ImageDataDesc& desc() const { return desc_; }
@@ -84,7 +84,7 @@
scoped_ptr<TransportDIB> transport_dib_;
// Null when the image isn't mapped.
- scoped_ptr<skia::PlatformCanvas> mapped_canvas_;
+ scoped_ptr<SkCanvas> mapped_canvas_;
#endif
// Set to true when this ImageData has been used in a call to
« no previous file with comments | « content/test/mock_render_process.cc ('k') | ppapi/proxy/ppb_image_data_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698