diff options
author | mtklein <mtklein@chromium.org> | 2016-03-25 09:11:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 09:11:35 -0700 |
commit | 5443f1b6bab26e0ee010d8b255f9ab6498a096ea (patch) | |
tree | 1afdda3881980776d0605c12484bafcfdb3af231 | |
parent | fe63045f075165b1be5d3e7fc5c710021d85f53b (diff) |
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
-rw-r--r-- | include/core/SkTLazy.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<T>& src) : fPtr(NULL) { if (src.isValid()) { - fPtr = new (fStorage.get()) T(*src->get()); + fPtr = new (fStorage.get()) T(*src.get()); } else { fPtr = NULL; } |