aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-03-25 09:11:35 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-25 09:11:35 -0700
commit5443f1b6bab26e0ee010d8b255f9ab6498a096ea (patch)
tree1afdda3881980776d0605c12484bafcfdb3af231
parentfe63045f075165b1be5d3e7fc5c710021d85f53b (diff)
Fix typo in SkTLazy copy ctor. src is a reference, not a pointer.
-rw-r--r--include/core/SkTLazy.h2
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;
}