aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-01-13 04:00:55 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-13 04:00:55 -0800
commit4ef0c8aea2f966f42592202659afb21f6b0fb511 (patch)
treea28dc5675404a300d62a6172487458203ede6fbc /src/image
parent125ee60ed3e510b1b9cbbaae8efdef2df5542ac1 (diff)
remove NewTexture?
BUG=skia: TBR= Review URL: https://codereview.chromium.org/831323005
Diffstat (limited to 'src/image')
-rw-r--r--src/image/SkImage_Gpu.cpp4
1 files changed, 0 insertions, 4 deletions
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();
}