| Index: skia/ext/platform_device.h
|
| ===================================================================
|
| --- skia/ext/platform_device.h (revision 96545)
|
| +++ skia/ext/platform_device.h (working copy)
|
| @@ -55,8 +55,11 @@
|
| // corresponding method on the bound PlatformDevice instance. If no
|
| // PlatformDevice has been bound to the SkDevice passed, then the routines are
|
| // NOPS.
|
| +// Pass |transfer_ownership| as true ensure that |platform_device| has the same
|
| +// lifetime as |device|.
|
| SK_API void SetPlatformDevice(SkDevice* device,
|
| - PlatformDevice* platform_device);
|
| + PlatformDevice* platform_device,
|
| + bool transfer_ownership);
|
| SK_API PlatformDevice* GetPlatformDevice(SkDevice* device);
|
|
|
| } // namespace skia
|
|
|