Index: tools/viewer/sk_app/android/RasterWindowContext_android.cpp |
diff --git a/tools/viewer/sk_app/android/RasterWindowContext_android.cpp b/tools/viewer/sk_app/android/RasterWindowContext_android.cpp |
index a5f9a657feadce25c0f022d69f1738f20c8748fa..5e1e351b9ae0593311f68cf423b50648ea67acf5 100644 |
--- a/tools/viewer/sk_app/android/RasterWindowContext_android.cpp |
+++ b/tools/viewer/sk_app/android/RasterWindowContext_android.cpp |
@@ -68,7 +68,7 @@ |
SkImageInfo info = SkImageInfo::Make(fWidth, fHeight, |
fDisplayParams.fColorType, |
kOpaque_SkAlphaType, |
- fDisplayParams.fColorSpace); |
+ fDisplayParams.fProfileType); |
fBackbufferSurface = SkSurface::MakeRasterDirect( |
info, fBuffer.bits, fBuffer.stride * bytePerPixel, nullptr); |
} |