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

Unified Diff: include/core/SkBitmap.h

Issue 2289313002: Remove SkBitmap::getTexture() (Closed)
Patch Set: Created 4 years, 4 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 | public.bzl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkBitmap.h
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index 53547f9123d79893ab2d6e2cfcab8e961a827f2b..ce1b56e7bf0ea3fb013ccfff284d0220aea03e8e 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -24,10 +24,6 @@ class SkPixelRefFactory;
class SkRegion;
class SkString;
-#ifdef SK_SUPPORT_LEGACY_BITMAP_GETTEXTURE
-class GrTexture;
-#endif
-
/** \class SkBitmap
The SkBitmap class specifies a raster bitmap. A bitmap has an integer width
@@ -472,10 +468,6 @@ public:
(this->colorType() != kIndex_8_SkColorType || fColorTable);
}
-#ifdef SK_SUPPORT_LEGACY_BITMAP_GETTEXTURE
- GrTexture* getTexture() const { return nullptr; }
-#endif
-
/** Return the bitmap's colortable, if it uses one (i.e. colorType is
Index_8) and the pixels are locked.
Otherwise returns NULL. Does not affect the colortable's
« no previous file with comments | « no previous file | public.bzl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698