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

Unified Diff: skia/ext/platform_device.h

Issue 2400873002: keep only one typedef for the native drawing context (Closed)
Patch Set: Created 4 years, 2 months 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: skia/ext/platform_device.h
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index 177c730ff1a06080caa61e84270e4f09956a4a93..fe210003156935ff9cafbf95dddb808bf411cc96 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -65,8 +65,8 @@ class SK_API PlatformDevice {
// The DC that corresponds to the bitmap, used for GDI operations drawing
// into the bitmap. This is possibly heavyweight, so it should be existant
// only during one pass of rendering.
- virtual PlatformSurface BeginPlatformPaint(const SkMatrix& transform,
- const SkIRect& clip_bounds);
+ virtual NativeDrawingContext BeginPlatformPaint(const SkMatrix& transform,
+ const SkIRect& clip_bounds);
friend class ScopedPlatformPaint;
};

Powered by Google App Engine
This is Rietveld 408576698