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

Unified Diff: webkit/glue/webkit_glue.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 | « ui/surface/transport_dib_win.cc ('k') | webkit/plugins/ppapi/mock_platform_image_2d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkit_glue.h
===================================================================
--- webkit/glue/webkit_glue.h (revision 167659)
+++ webkit/glue/webkit_glue.h (working copy)
@@ -21,15 +21,12 @@
#include "webkit/glue/webkit_glue_export.h"
class SkBitmap;
+class SkCanvas;
namespace net {
class URLRequest;
}
-namespace skia {
-class PlatformCanvas;
-}
-
namespace WebKit {
struct WebFileInfo;
class WebFrame;
@@ -99,7 +96,7 @@
WebKit::WebFileInfo* web_file_info);
// Returns a WebCanvas pointer associated with the given Skia canvas.
-WEBKIT_GLUE_EXPORT WebKit::WebCanvas* ToWebCanvas(skia::PlatformCanvas*);
+WEBKIT_GLUE_EXPORT WebKit::WebCanvas* ToWebCanvas(SkCanvas*);
// Returns the number of currently-active glyph pages this process is using.
// There can be many such pages (maps of 256 character -> glyph) so this is
« no previous file with comments | « ui/surface/transport_dib_win.cc ('k') | webkit/plugins/ppapi/mock_platform_image_2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698