| Index: ppapi/thunk/ppb_image_data_api.h
|
| diff --git a/ppapi/thunk/ppb_image_data_api.h b/ppapi/thunk/ppb_image_data_api.h
|
| index ec2a716cf4e34e7e7a8b9101cbd45662e9e38f91..af1eaefb6925c59664b21de2551a7f130d4eadae 100644
|
| --- a/ppapi/thunk/ppb_image_data_api.h
|
| +++ b/ppapi/thunk/ppb_image_data_api.h
|
| @@ -31,19 +31,6 @@ class PPB_ImageData_API {
|
| virtual int32_t GetSharedMemory(base::SharedMemory** shm,
|
| uint32_t* byte_count) = 0;
|
|
|
| - // Get the platform-specific canvas that backs this ImageData, if there is
|
| - // one.
|
| - // The canvas will be NULL:
|
| - // * If the image is not mapped.
|
| - // * Within untrusted code (which does not have skia).
|
| - // * If the ImageData is not backed by a platform-specific image buffer.
|
| - // This will be the case for ImageDatas created for use in NaCl.
|
| - // For this last reason, you should prefer GetCanvas any time you don't need
|
| - // a platform-specific canvas (e.g., for use with platform-specific APIs).
|
| - // Anything that relies on having a PlatformCanvas will not work for ImageDat
|
| - // objects created from NaCl.
|
| - virtual SkCanvas* GetPlatformCanvas() = 0;
|
| -
|
| // Get the canvas that backs this ImageData, if there is one.
|
| // The canvas will be NULL:
|
| // * If the image is not mapped.
|
|
|