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
This commit is contained in:
parent
2ff47c2390
commit
bf783b335c
@ -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
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user