Fix typo in SkTLazy copy ctor. src is a reference, not a pointer.
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1832053003 Review URL: https://codereview.chromium.org/1832053003
This commit is contained in:
parent
fe63045f07
commit
5443f1b6ba
@ -29,7 +29,7 @@ public:
|
||||
|
||||
SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) {
|
||||
if (src.isValid()) {
|
||||
fPtr = new (fStorage.get()) T(*src->get());
|
||||
fPtr = new (fStorage.get()) T(*src.get());
|
||||
} else {
|
||||
fPtr = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user