Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 61fa142efdadf8b1e927884263c6cd286d3173d2..6a42ece802f7eb29db01a70204c64055533502dc 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -93,10 +93,6 @@ SkImage* SkNewImageFromBitmapTexture(const SkBitmap& bitmap, int sampleCountForN |
return SkNEW_ARGS(SkImage_Gpu, (bitmap, sampleCountForNewSurfaces)); |
} |
-SkImage* SkImage::NewTexture(const SkBitmap& bitmap) { |
- return SkNewImageFromBitmapTexture(bitmap, 0); |
-} |
- |
GrTexture* SkTextureImageGetTexture(SkImage* image) { |
return ((SkImage_Gpu*)image)->getTexture(); |
} |