From bf783b335cb4d941ac8848a44f6d21912d6eeda2 Mon Sep 17 00:00:00 2001 From: fmalita Date: Wed, 24 Aug 2016 11:03:24 -0700 Subject: [PATCH] Fix SkTLazy(const T*) initialization Splitting the fix from https://codereview.chromium.org/2271743002/. R=bungeman@google.com,mtklein@google.com TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2278633002 Review-Url: https://codereview.chromium.org/2278633002 --- include/core/SkTLazy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/core/SkTLazy.h b/include/core/SkTLazy.h index 31dce6085f..cb08387bb9 100644 --- a/include/core/SkTLazy.h +++ b/include/core/SkTLazy.h @@ -99,8 +99,8 @@ public: T* getMaybeNull() const { return fPtr; } private: - T* fPtr; // nullptr or fStorage SkAlignedSTStorage<1, T> fStorage; + T* fPtr; // nullptr or fStorage }; /**