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

Unified Diff: skia/ext/platform_device.h

Issue 2294813002: Start hiding deprecated skia/ext/ functions (Closed)
Patch Set: fix Mac typo 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
Index: skia/ext/platform_device.h
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index e1f4d4932950cdc6ca14b33eb7d2e32652145163..122d560b2a91d2c1ecf31361195ba41b3092ae13 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -29,14 +29,13 @@ 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,
f(malita) 2016/08/30 17:41:23 Same comment about exporting.
tomhudson 2016/08/30 17:48:48 Done.
- PlatformDevice* platform_device);
-SK_API PlatformDevice* GetPlatformDevice(SkBaseDevice* device);
+// DEPRECATED
+// Bind a PlatformDevice instance, |platform_device|, to |device|.
+void SetPlatformDevice(SkBaseDevice* device, PlatformDevice* platform_device);
+
+// DEPRECATED
+// Retrieve the previous argument to SetPlatformDevice().
+PlatformDevice* GetPlatformDevice(SkBaseDevice* device);
// A SkBitmapDevice is basically a wrapper around SkBitmap that provides a
// surface for SkCanvas to draw into. PlatformDevice provides a surface
« skia/ext/platform_canvas_unittest.cc ('K') | « skia/ext/platform_canvas_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698