aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGrPixelRef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/SkGrPixelRef.cpp')
-rw-r--r--src/gpu/SkGrPixelRef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp
index 8751c5d8bf..98819bfd73 100644
--- a/src/gpu/SkGrPixelRef.cpp
+++ b/src/gpu/SkGrPixelRef.cpp
@@ -128,9 +128,9 @@ SkGrPixelRef::~SkGrPixelRef() {
GrSafeUnref(fSurface);
}
-SkGpuTexture* SkGrPixelRef::getTexture() {
+GrTexture* SkGrPixelRef::getTexture() {
if (NULL != fSurface) {
- return (SkGpuTexture*) fSurface->asTexture();
+ return fSurface->asTexture();
}
return NULL;
}