Chromium Code Reviews| Index: include/core/SkPixmap.h |
| diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h |
| index b43072b9579687a3b658ae455caee79536adac38..80d06fcae3cc8dae834dba1b09db369b882645b5 100644 |
| --- a/include/core/SkPixmap.h |
| +++ b/include/core/SkPixmap.h |
| @@ -222,6 +222,8 @@ public: |
| */ |
| const SkData* SK_WARN_UNUSED_RESULT detachPixelsAsData(); |
| + void release(); |
|
reed1
2016/03/15 03:13:03
Docs? What does this do differently from reset()?
robertphillips
2016/03/16 15:31:58
Done.
|
| + |
| // We wrap these so we can clear our internal storage |
| void reset() { |