From 4ef0c8aea2f966f42592202659afb21f6b0fb511 Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 13 Jan 2015 04:00:55 -0800 Subject: remove NewTexture? BUG=skia: TBR= Review URL: https://codereview.chromium.org/831323005 --- src/image/SkImage_Gpu.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/image') diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp index 61fa142efd..6a42ece802 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(); } -- cgit v1.2.3