Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: dm/DM.cpp

Issue 2393643002: Resubmit issue 2221103002 to fix the iOS build by declaring the flag in (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/nanobench.cpp ('k') | gyp/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 53709ba76dab27691441643227d65a56285379ac..c6e2ab98c71cbfd792baaa4bc0ca508f01d06270 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -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()) {
« no previous file with comments | « bench/nanobench.cpp ('k') | gyp/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698