Index: include/core/SkImage.h |
diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
index 062d13afe7ea75462c400d9da2c25d69bc99abeb..8cd19c9ea7d10ac8070e88aaab6b948ed7c7e324 100644 |
--- a/include/core/SkImage.h |
+++ b/include/core/SkImage.h |
@@ -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. |