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

Unified Diff: include/core/SkTemplates.h

Issue 1112523006: Sketch splitting SkPicture into an interface and SkBigPicture. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nullptr Created 5 years, 8 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
Index: include/core/SkTemplates.h
diff --git a/include/core/SkTemplates.h b/include/core/SkTemplates.h
index 1d22a642dae3ba959d4f7a9a9bee8fb4ff7072e7..0488a29651ad044df90d3822b166e0f7c3f5f954 100644
--- a/include/core/SkTemplates.h
+++ b/include/core/SkTemplates.h
@@ -132,7 +132,7 @@ public:
~SkAutoTDelete() { SkDELETE(fObj); }
T* get() const { return fObj; }
- operator T*() { return fObj; }
+ operator T*() const { return fObj; }
reed1 2015/04/29 20:21:53 happy to land this separately
mtklein 2015/04/30 16:17:03 Done.
T& operator*() const { SkASSERT(fObj); return *fObj; }
T* operator->() const { SkASSERT(fObj); return fObj; }

Powered by Google App Engine
This is Rietveld 408576698