Chromium Code Reviews| 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 |