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 5e1e351b9ae0593311f68cf423b50648ea67acf5..a5f9a657feadce25c0f022d69f1738f20c8748fa 100644 |
--- a/tools/viewer/sk_app/android/RasterWindowContext_android.cpp |
+++ b/tools/viewer/sk_app/android/RasterWindowContext_android.cpp |
@@ -68,7 +68,7 @@ sk_sp<SkSurface> RasterWindowContext_android::getBackbufferSurface() { |
SkImageInfo info = SkImageInfo::Make(fWidth, fHeight, |
fDisplayParams.fColorType, |
kOpaque_SkAlphaType, |
- fDisplayParams.fProfileType); |
+ fDisplayParams.fColorSpace); |
fBackbufferSurface = SkSurface::MakeRasterDirect( |
info, fBuffer.bits, fBuffer.stride * bytePerPixel, nullptr); |
} |