Index: tools/viewer/sk_app/WindowContext.cpp |
diff --git a/tools/viewer/sk_app/WindowContext.cpp b/tools/viewer/sk_app/WindowContext.cpp |
index ecac2cc0047b44ab2d189dbd4e223148ff3cba40..41bbd14576b37f604c8f65d7001b8de076932553 100755 |
--- a/tools/viewer/sk_app/WindowContext.cpp |
+++ b/tools/viewer/sk_app/WindowContext.cpp |
@@ -36,7 +36,7 @@ |
SkImageInfo info = SkImageInfo::Make(fWidth, fHeight, |
fDisplayParams.fColorType, |
kUnknown_SkAlphaType, |
- fDisplayParams.fColorSpace); |
+ fDisplayParams.fProfileType); |
return SkSurface::MakeRenderTarget(fContext, SkBudgeted::kNo, info, |
fDisplayParams.fMSAASampleCount, &props); |
} else { |
@@ -52,7 +52,7 @@ |
SkImageInfo info = SkImageInfo::Make(fWidth, fHeight, |
fDisplayParams.fColorType, |
kUnknown_SkAlphaType, |
- fDisplayParams.fColorSpace); |
+ fDisplayParams.fProfileType); |
SkBitmap bm; |
bm.allocPixels(info); |
renderSurface->getCanvas()->readPixels(&bm, 0, 0); |