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

Unified Diff: ppapi/thunk/ppb_image_data_api.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
Index: ppapi/thunk/ppb_image_data_api.h
===================================================================
--- ppapi/thunk/ppb_image_data_api.h (revision 167659)
+++ ppapi/thunk/ppb_image_data_api.h (working copy)
@@ -8,10 +8,6 @@
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/ppb_image_data.h"
-namespace skia {
-class PlatformCanvas;
-}
-
class SkCanvas;
namespace ppapi {
@@ -39,7 +35,7 @@
// a platform-specific canvas (e.g., for use with platform-specific APIs).
// Anything that relies on having a PlatformCanvas will not work for ImageDat
// objects created from NaCl.
- virtual skia::PlatformCanvas* GetPlatformCanvas() = 0;
+ virtual SkCanvas* GetPlatformCanvas() = 0;
// Get the canvas that backs this ImageData, if there is one.
// The canvas will be NULL:
« no previous file with comments | « ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc ('k') | skia/ext/bitmap_platform_device_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698