Index: include/core/SkTLazy.h |
diff --git a/include/core/SkTLazy.h b/include/core/SkTLazy.h |
index c8ae3178f7205ae846db681bdd5167b6f507e492..8032538c4498860caa69b8c068030b4ae8d8ae47 100644 |
--- a/include/core/SkTLazy.h |
+++ b/include/core/SkTLazy.h |
@@ -131,6 +131,8 @@ class SkTCopyOnFirstWrite { |
public: |
SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} |
+ SkTCopyOnFirstWrite(const T* initial) : fObj(initial) {} |
+ |
// Constructor for delayed initialization. |
SkTCopyOnFirstWrite() : fObj(NULL) {} |