Chromium Code Reviews| Index: include/core/SkPixelRef.h |
| diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h |
| index d90e58719bb0b87f5bd3b5ce9b0dc4c90e056259..76a8f9e2345ad83ba45697926fd8825d4ee2ca90 100644 |
| --- a/include/core/SkPixelRef.h |
| +++ b/include/core/SkPixelRef.h |
| @@ -257,6 +257,9 @@ protected: |
| // default impl returns NULL. |
| virtual SkData* onRefEncodedData(); |
| + // default impl returns 0. |
|
reed1
2013/12/03 19:02:50
Lets change the dox to document what this does/ret
sugoi
2013/12/03 19:07:22
I'll add the dox. It should return the allocated s
sugoi
2013/12/03 19:18:06
Done.
|
| + virtual size_t getSize() const; |
| + |
| /** Return the mutex associated with this pixelref. This value is assigned |
| in the constructor, and cannot change during the lifetime of the object. |
| */ |