Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: include/core/SkTLazy.h

Issue 1832053003: Fix typo in SkTLazy copy ctor. src is a reference, not a pointer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTLazy.h
diff --git a/include/core/SkTLazy.h b/include/core/SkTLazy.h
index 8032538c4498860caa69b8c068030b4ae8d8ae47..399b26cde84d071427d7bdee6a1dfbede6a4b10f 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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698