remove (legacy) NewFromData

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/1199413003
This commit is contained in:
reed 2015-06-23 21:31:08 -07:00 committed by Commit bot
parent 74f681dce2
commit 56b73fc63f

View File

@ -81,12 +81,6 @@ public:
*/
static SkImage* NewFromEncoded(SkData* encoded, const SkIRect* subset = NULL);
#ifdef SK_SUPPORT_LEGACY_IMAGE_NEWFROMDATA
static SkImage* NewFromData(SkData* data) {
return NewFromEncoded(data, NULL);
}
#endif
/**
* Create a new image from the specified descriptor. Note - the caller is responsible for
* managing the lifetime of the underlying platform texture.