From 944876f2745a62a839e49275daf93a0329372e67 Mon Sep 17 00:00:00 2001 From: brianosman Date: Fri, 17 Jun 2016 13:43:27 -0700 Subject: More removal of SkColorProfileType... Scrub GMs. Remove the gDefaultProfile thing (it's unused now), along with the command line flag that was setting it in DM and nanobench. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2071393002 Review-Url: https://codereview.chromium.org/2071393002 --- gm/surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm/surface.cpp') diff --git a/gm/surface.cpp b/gm/surface.cpp index 15d362efd5..bae77c5594 100644 --- a/gm/surface.cpp +++ b/gm/surface.cpp @@ -78,7 +78,7 @@ protected: // must be opaque to have a hope of testing LCD text const SkImageInfo info = SkImageInfo::MakeN32(W, H, kOpaque_SkAlphaType, - canvas->imageInfo().profileType()); + sk_ref_sp(canvas->imageInfo().colorSpace())); SkSurfaceProps canvasProps(SkSurfaceProps::kLegacyFontHost_InitType); bool gammaCorrect = canvas->getProps(&canvasProps) && canvasProps.isGammaCorrect(); -- cgit v1.2.3