diff options
author | brianosman <brianosman@google.com> | 2016-06-17 13:43:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-17 13:43:27 -0700 |
commit | 944876f2745a62a839e49275daf93a0329372e67 (patch) | |
tree | efcb2109562bcefb36a65099a63f329091d6b9d4 /dm | |
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 'dm')
-rw-r--r-- | dm/DM.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1248,8 +1248,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); @@ -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); |