Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index 30e410cca35f406535589130722231543bc6abba..3284f72f6cbeead90da49afd0de0e077c51f3f92 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -153,6 +153,10 @@ public: |
// Returns NULL if this is not an SkBigPicture. |
virtual const SkBigPicture* asSkBigPicture() const { return NULL; } |
+ // Global setting to enable or disable security precautions for serialization. |
+ static void SetPictureIOSecurityPrecautionsEnabled_Dangerous(bool set); |
+ static bool PictureIOSecurityPrecautionsEnabled(); |
+ |
private: |
// Subclass whitelist. |
SkPicture(); |