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

Unified Diff: skia/ext/platform_device.h

Issue 2294813002: Start hiding deprecated skia/ext/ functions (Closed)
Patch Set: re-add another SK_API Created 4 years, 4 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
« no previous file with comments | « skia/ext/platform_canvas_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_device.h
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index e1f4d4932950cdc6ca14b33eb7d2e32652145163..177c730ff1a06080caa61e84270e4f09956a4a93 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -29,13 +29,12 @@ class ScopedPlatformPaint;
// All calls to PlatformDevice::* should be routed through these
// helper functions.
-// Bind a PlatformDevice instance, |platform_device| to |device|. Subsequent
-// calls to the functions exported below will forward the request to the
-// corresponding method on the bound PlatformDevice instance. If no
-// PlatformDevice has been bound to the SkBaseDevice passed, then the
-// routines are NOPS.
-SK_API void SetPlatformDevice(SkBaseDevice* device,
- PlatformDevice* platform_device);
+// DEPRECATED
+// Bind a PlatformDevice instance, |platform_device|, to |device|.
+SK_API void SetPlatformDevice(SkBaseDevice* device, PlatformDevice* platform_device);
+
+// DEPRECATED
+// Retrieve the previous argument to SetPlatformDevice().
SK_API PlatformDevice* GetPlatformDevice(SkBaseDevice* device);
// A SkBitmapDevice is basically a wrapper around SkBitmap that provides a
« no previous file with comments | « skia/ext/platform_canvas_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698