Index: skia/config/SkUserConfig.h |
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h |
index a2b86a9394767bbbe6fbdd20b19ecad056af161c..5cdbd6ac598cd50faab04673562303083a0ff83b 100644 |
--- a/skia/config/SkUserConfig.h |
+++ b/skia/config/SkUserConfig.h |
@@ -17,6 +17,10 @@ |
#ifndef SkUserConfig_DEFINED |
#define SkUserConfig_DEFINED |
+// Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to |
+// test the threadsafety of SkPicture playback. |
+#define SK_PICTURE_CLONE_NOOP 1 |
+ |
/* SkTypes.h, the root of the public header files, does the following trick: |
#include <SkPreConfig.h> |