Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: include/core/SkImage.h

Issue 1199413003: remove (legacy) NewFromData (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698