Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: include/core/SkTLazy.h

Issue 2278633002: Fix SkTLazy(const T*) initialization (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTLazy.h
diff --git a/include/core/SkTLazy.h b/include/core/SkTLazy.h
index 31dce6085f96779c3137fc5bf4011766a91b31f4..cb08387bb9fe331ba6876b50685b7e1680ddc81c 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
};
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698