Index: skia/config/SkUserConfig.h |
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h |
index bd039e3abec57f1fe9aa82a5fe594ab5b0dfd9fc..07b47d20521da5992454485e3c5b2ed493e2ce64 100644 |
--- a/skia/config/SkUserConfig.h |
+++ b/skia/config/SkUserConfig.h |
@@ -257,10 +257,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, |
# define SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS |
#endif |
-#ifndef SK_SUPPORT_LEGACY_PICTURE_CLONE |
-# define SK_SUPPORT_LEGACY_PICTURE_CLONE |
-#endif |
- |
#ifndef SK_IGNORE_ETC1_SUPPORT |
# define SK_IGNORE_ETC1_SUPPORT |
#endif |
@@ -269,24 +265,14 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, |
# define SK_IGNORE_GPU_DITHER |
#endif |
-#ifndef SK_LEGACY_PICTURE_SIZE_API |
-# define SK_LEGACY_PICTURE_SIZE_API |
-#endif |
- |
#ifndef SK_LEGACY_PICTURE_DRAW_API |
# define SK_LEGACY_PICTURE_DRAW_API |
#endif |
- |
-// 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 |
- |
-// Turns on new (nicer, hopefully faster) SkPicture backend. |
-#define SK_PICTURE_USE_SK_RECORD 1 |
- |
-// Run a few optimization passes over the SkRecord after recording. |
-#define SK_PICTURE_OPTIMIZE_SK_RECORD 1 |
+// If this goes well, we can have Skia respect DYNAMIC_ANNOTATIONS_ENABLED directly. |
+#if DYNAMIC_ANNOTATIONS_ENABLED |
+# define SK_DYNAMIC_ANNOTATIONS_ENABLED 1 |
+#endif |
// ===== End Chrome-specific definitions ===== |