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:
mtklein 2016-03-25 09:11:35 -07:00 committed by Commit bot
parent fe63045f07
commit 5443f1b6ba

View File

@ -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;
}