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

Unified Diff: content/renderer/render_process.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/renderer/pepper/pepper_platform_image_2d_impl.cc ('k') | content/renderer/render_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_process.h
===================================================================
--- content/renderer/render_process.h (revision 167659)
+++ content/renderer/render_process.h (working copy)
@@ -14,10 +14,6 @@
class Rect;
}
-namespace skia {
-class PlatformCanvas;
-}
-
namespace content {
// A abstract interface representing the renderer end of the browser<->renderer
@@ -39,8 +35,8 @@
//
// When no longer needed, you should pass the TransportDIB to
// ReleaseTransportDIB so that it can be recycled.
- virtual skia::PlatformCanvas* GetDrawingCanvas(TransportDIB** memory,
- const gfx::Rect& rect) = 0;
+ virtual SkCanvas* GetDrawingCanvas(TransportDIB** memory,
+ const gfx::Rect& rect) = 0;
// Frees shared memory allocated by AllocSharedMemory. You should only use
// this function to free the SharedMemory object.
« no previous file with comments | « content/renderer/pepper/pepper_platform_image_2d_impl.cc ('k') | content/renderer/render_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698