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

Unified Diff: ui/surface/transport_dib.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/gfx/image/image_skia_operations.cc ('k') | ui/surface/transport_dib_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/transport_dib.h
===================================================================
--- ui/surface/transport_dib.h (revision 167659)
+++ ui/surface/transport_dib.h (working copy)
@@ -18,9 +18,7 @@
#include "ui/base/x/x11_util.h"
#endif
-namespace skia {
-class PlatformCanvas;
-}
+class SkCanvas;
// -----------------------------------------------------------------------------
// A TransportDIB is a block of memory that is used to transport pixels
@@ -168,7 +166,7 @@
//
// Will return NULL on allocation failure. This could be because the image
// is too large to map into the current process' address space.
- skia::PlatformCanvas* GetPlatformCanvas(int w, int h);
+ SkCanvas* GetPlatformCanvas(int w, int h);
// Map the DIB into the current process if it is not already. This is used to
// map a DIB that has already been created. Returns true if the DIB is mapped.
« no previous file with comments | « ui/gfx/image/image_skia_operations.cc ('k') | ui/surface/transport_dib_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698