summaryrefslogtreecommitdiff
path: root/core/SkPictureShader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/SkPictureShader.cpp')
-rw-r--r--core/SkPictureShader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/SkPictureShader.cpp b/core/SkPictureShader.cpp
index 9555624f..290baa82 100644
--- a/core/SkPictureShader.cpp
+++ b/core/SkPictureShader.cpp
@@ -119,7 +119,7 @@ SkShader::Context* SkPictureShader::onCreateContext(const ContextRec& rec, void*
if (NULL == bitmapShader.get()) {
return NULL;
}
- return PictureShaderContext::Create(storage, *this, rec, bitmapShader.detach());
+ return PictureShaderContext::Create(storage, *this, rec, bitmapShader);
}
/////////////////////////////////////////////////////////////////////////////////////////