aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTLazy.h
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2016-08-24 11:03:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-24 11:03:24 -0700
commitbf783b335cb4d941ac8848a44f6d21912d6eeda2 (patch)
tree4fc934d23cb2d336d2bd7b1cc59a806eb3c4da09 /include/core/SkTLazy.h
parent2ff47c2390814df165234ab16b83dbacf97f1c0f (diff)
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
Diffstat (limited to 'include/core/SkTLazy.h')
-rw-r--r--include/core/SkTLazy.h2
1 files changed, 1 insertions, 1 deletions
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
};
/**