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 --- dm/DM.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'dm') diff --git a/dm/DM.cpp b/dm/DM.cpp index 69044080b5..0eb679adee 100644 --- a/dm/DM.cpp +++ b/dm/DM.cpp @@ -1248,8 +1248,6 @@ static sk_sp create_from_name(const char familyName[], SkFontStyle s extern sk_sp (*gCreateTypefaceDelegate)(const char [], SkFontStyle ); -extern bool gDefaultProfileIsSRGB; - int dm_main(); int dm_main() { setbuf(stdout, nullptr); @@ -1262,10 +1260,6 @@ int dm_main() { gVLog = freopen(SkOSPath::Join(FLAGS_writePath[0], "verbose.log").c_str(), "w", stderr); } - if (FLAGS_forceSRGB) { - gDefaultProfileIsSRGB = true; - } - JsonWriter::DumpJson(); // It's handy for the bots to assume this is ~never missing. SkAutoGraphics ag; SkTaskGroup::Enabler enabled(FLAGS_threads); -- cgit v1.2.3