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

Unified Diff: include/core/SkRefCnt.h

Issue 567013002: Serialize the font index. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Move data into descriptor. Created 6 years, 3 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 | include/core/SkTypeface.h » ('j') | src/core/SkPaint.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkRefCnt.h
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
index f092e778f3ee25ae7ea4ec59790da2b29d8caada..459ad251a8be0b89330c16dd6e43a1fdcf3d6790 100644
--- a/include/core/SkRefCnt.h
+++ b/include/core/SkRefCnt.h
@@ -234,7 +234,7 @@ public:
BlockRefType *operator->() const {
return static_cast<BlockRefType*>(fObj);
}
- operator T*() { return fObj; }
+ operator T*() const { return fObj; }
bungeman-skia 2014/09/18 14:50:09 mtklein and I have stated a couple of times that t
private:
T* fObj;
« no previous file with comments | « no previous file | include/core/SkTypeface.h » ('j') | src/core/SkPaint.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698