Chromium Code Reviews| 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; |