diff options
author | 2016-06-17 13:43:27 -0700 | |
---|---|---|
committer | 2016-06-17 13:43:27 -0700 | |
commit | 944876f2745a62a839e49275daf93a0329372e67 (patch) | |
tree | efcb2109562bcefb36a65099a63f329091d6b9d4 /gm/surface.cpp | |
parent | e75cdcb85b73c4484a992bf5531394632e757870 (diff) |
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
Diffstat (limited to 'gm/surface.cpp')
-rw-r--r-- | gm/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |