Index: src/utils/android/SkAndroidSDKCanvas.cpp |
diff --git a/src/utils/android/SkAndroidSDKCanvas.cpp b/src/utils/android/SkAndroidSDKCanvas.cpp |
index b05605bbf9e00ee39f6e40a9c7a0955c0019d79f..2eec95f66cf62068ecbe9ec50d28c146b952174b 100644 |
--- a/src/utils/android/SkAndroidSDKCanvas.cpp |
+++ b/src/utils/android/SkAndroidSDKCanvas.cpp |
@@ -23,7 +23,7 @@ void CheckShader(SkPaint* paint) { |
return; |
} |
- if (shader->asABitmap(NULL, NULL, NULL) == SkShader::kDefault_BitmapType) { |
+ if (shader->isABitmap()) { |
return; |
} |
if (shader->asACompose(NULL)) { |