Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 52c86d5f6880dc6f79f0e759808ec1d021a84f07..08a458756f876eab57f9a037f2c10bd1dddda673 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -1,7 +1,6 @@ |
// Main binary for DM. |
// For a high-level overview, please see dm/README. |
-#include "CrashHandler.h" |
#include "LazyDecodeBitmap.h" |
#include "SkCommonFlags.h" |
#include "SkForceLinking.h" |
@@ -187,9 +186,7 @@ static void append_matching_factories(Registry* head, SkTDArray<typename Registr |
} |
} |
-int dm_main(); |
int dm_main() { |
- SetupCrashHandler(); |
SkAutoGraphics ag; |
SkTaskGroup::Enabler enabled(FLAGS_threads); |
@@ -244,10 +241,3 @@ int dm_main() { |
report_failures(failures); |
return failures.count() > 0; |
} |
- |
-#if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
-int main(int argc, char** argv) { |
- SkCommandLineFlags::Parse(argc, argv); |
- return dm_main(); |
-} |
-#endif |