Chromium Code Reviews| Index: include/core/SkRefCnt.h |
| diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h |
| index c45ed6bbf06f0d261f6efde6b696da538166b0dd..d3d05012dc1e286b76c03d75be145c7e65b38bf0 100644 |
| --- a/include/core/SkRefCnt.h |
| +++ b/include/core/SkRefCnt.h |
| @@ -330,7 +330,7 @@ public: |
| return *this; |
| } |
| - T& operator*() const { |
| + skstd::add_lvalue_reference_t<T> operator*() const { |
| SkASSERT(this->get() != nullptr); |
| return *this->get(); |
| } |