Disable PDF in dm for tonight. It's crashy.
authormtklein <mtklein@chromium.org>
Tue, 3 Jun 2014 22:59:23 +0000 (15:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 3 Jun 2014 22:59:23 +0000 (15:59 -0700)
BUG=skia:2598
R=mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/317533003

dm/DMPDFTask.cpp

index 270f4b4..e50e9ec 100644 (file)
 #include "SkCommandLineFlags.h"
 #include "SkDocument.h"
 
-DEFINE_bool(pdf, true, "PDF backend master switch.");
+// The PDF backend is not threadsafe.  If you run dm with --pdf repeatedly, you
+// will quickly find yourself crashed.  (while catchsegv out/Release/dm;; end).
+//
+// TODO(mtklein): re-enable by default, maybe moving to its own single thread.
+DEFINE_bool(pdf, false, "PDF backend master switch.");
 
 namespace DM {