diff options
author | 2016-10-04 11:23:22 -0700 | |
---|---|---|
committer | 2016-10-04 11:23:22 -0700 | |
commit | 38911a7cb53474575e1cd1cb545902b50ee00889 (patch) | |
tree | e8186ee1c91bb4f9206457debdb0103c1a38218f /dm/DM.cpp | |
parent | 421a3c1cc1b227084c7c84618d0b6a6804faabef (diff) |
Resubmit issue 2221103002 to fix the iOS build by declaring the flag in
SkCommonFlags.h
TBR=reed@google.com,caryclark@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2393643002
Review-Url: https://codereview.chromium.org/2393643002
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r-- | dm/DM.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -34,6 +34,7 @@ #include "Timer.h" #include "picture_utils.h" #include "sk_tool_utils.h" +#include "SkScan.h" #ifdef SK_PDF_IMAGE_STATS extern void SkPDFImageDumpStats(); @@ -1274,6 +1275,10 @@ int dm_main() { setbuf(stdout, nullptr); setup_crash_handler(); + if (FLAGS_analyticAA) { + GlobalAAConfig::getInstance().fUseAnalyticAA = true; + } + if (FLAGS_verbose) { gVLog = stderr; } else if (!FLAGS_writePath.isEmpty()) { |