Index: skia/ext/platform_canvas.h |
diff --git a/skia/ext/platform_canvas.h b/skia/ext/platform_canvas.h |
index 89b8c326ebba9cf4946142457450ac2670f826c2..5b8849bf69ab1fa0fb09a6fa89fa2ab0a15b30a2 100644 |
--- a/skia/ext/platform_canvas.h |
+++ b/skia/ext/platform_canvas.h |
@@ -20,9 +20,11 @@ |
class SkBaseDevice; |
-namespace skia { |
+// A PlatformCanvas is a software-rasterized SkCanvas which is *also* |
+// addressable by the platform-specific drawing API (GDI, Core Graphics, |
+// Cairo...). |
-typedef SkCanvas PlatformCanvas; |
+namespace skia { |
// |
// Note about error handling. |
@@ -51,7 +53,7 @@ enum OnFailureType { |
OnFailureType failure_type); |
// Draws the top layer of the canvas into the specified HDC. Only works |
- // with a PlatformCanvas with a BitmapPlatformDevice. |
+ // with a SkCanvas with a BitmapPlatformDevice. |
SK_API void DrawToNativeContext(SkCanvas* canvas, |
HDC hdc, |
int x, |