Index: platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp |
diff --git a/platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp b/platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp |
index 5e60439ed2892ac37211bd088a28c2b5961ae1a8..65f622883d2c39c10ec05a07682f6de4832093bd 100644 |
--- a/platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp |
+++ b/platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp |
@@ -26,8 +26,8 @@ JNIEXPORT void JNICALL Java_com_example_HelloSkiaActivity_drawIntoBitmap(JNIEnv* |
AndroidBitmap_getInfo(env, dstBitmap, &dstInfo); |
AndroidBitmap_lockPixels(env, dstBitmap, &dstPixels); |
- SkImage::Info info = { |
- dstInfo.width, dstInfo.height, SkImage::kPMColor_ColorType,kPremul_SkAlphaType |
+ SkImageInfo info = { |
+ dstInfo.width, dstInfo.height, kPMColor_SkColorType, kPremul_SkAlphaType |
}; |
// Create a surface from the given bitmap |