diff options
author | brianosman <brianosman@google.com> | 2016-06-20 08:25:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-20 08:25:02 -0700 |
commit | 52ede1d905728cdcaa98db1e4a33724f5a85c62d (patch) | |
tree | 8c95fb157776dc2a561c8de731cac19cc78fa5a0 /dm/DM.cpp | |
parent | 0ed057542ce545da57cda92dc09c1da8b5fdc363 (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
Committed: https://skia.googlesource.com/skia/+/944876f2745a62a839e49275daf93a0329372e67
Review-Url: https://codereview.chromium.org/2071393002
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r-- | dm/DM.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1251,8 +1251,6 @@ static sk_sp<SkTypeface> create_from_name(const char familyName[], SkFontStyle s extern sk_sp<SkTypeface> (*gCreateTypefaceDelegate)(const char [], SkFontStyle ); -extern bool gDefaultProfileIsSRGB; - int dm_main(); int dm_main() { setbuf(stdout, nullptr); @@ -1265,10 +1263,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); |