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

Unified Diff: webkit/plugins/ppapi/plugin_delegate.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: webkit/plugins/ppapi/plugin_delegate.h
===================================================================
--- webkit/plugins/ppapi/plugin_delegate.h (revision 165342)
+++ webkit/plugins/ppapi/plugin_delegate.h (working copy)
@@ -35,6 +35,7 @@
class GURL;
class SkBitmap;
+class SkCanvas;
class TransportDIB;
struct PP_HostResolver_Private_Hint;
struct PP_NetAddress_Private;
@@ -70,10 +71,6 @@
} // namespace ppapi
-namespace skia {
-class PlatformCanvas;
-}
-
namespace WebKit {
class WebGamepads;
class WebPlugin;
@@ -160,7 +157,7 @@
virtual ~PlatformImage2D() {}
// Caller will own the returned pointer, returns NULL on failure.
- virtual skia::PlatformCanvas* Map() = 0;
+ virtual SkCanvas* Map() = 0;
// Returns the platform-specific shared memory handle of the data backing
// this image. This is used by PPAPI proxying to send the image to the

Powered by Google App Engine
This is Rietveld 408576698