From 5443f1b6bab26e0ee010d8b255f9ab6498a096ea Mon Sep 17 00:00:00 2001 From: mtklein Date: Fri, 25 Mar 2016 09:11:35 -0700 Subject: 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 --- include/core/SkTLazy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/core/SkTLazy.h b/include/core/SkTLazy.h index 8032538c44..399b26cde8 100644 --- a/include/core/SkTLazy.h +++ b/include/core/SkTLazy.h @@ -29,7 +29,7 @@ public: SkTLazy(const SkTLazy& src) : fPtr(NULL) { if (src.isValid()) { - fPtr = new (fStorage.get()) T(*src->get()); + fPtr = new (fStorage.get()) T(*src.get()); } else { fPtr = NULL; } -- cgit v1.2.3