Chromium Code Reviews| Index: src/core/SkValidatingReadBuffer.h |
| diff --git a/src/core/SkValidatingReadBuffer.h b/src/core/SkValidatingReadBuffer.h |
| index 7fb203b45e99d8a6755b06aa936a09752a10ee54..654b1b2c5a2c8e04665fe7304e7fee5061372a20 100644 |
| --- a/src/core/SkValidatingReadBuffer.h |
| +++ b/src/core/SkValidatingReadBuffer.h |
| @@ -44,6 +44,7 @@ public: |
| void readMatrix(SkMatrix* matrix) override; |
| void readIRect(SkIRect* rect) override; |
| void readRect(SkRect* rect) override; |
| + void readRRect(SkRRect* rrect) override; |
| void readRegion(SkRegion* region) override; |
| void readPath(SkPath* path) override; |
| @@ -62,6 +63,7 @@ public: |
| bool validate(bool isValid) override; |
| bool isValid() const override; |
| + void makeInvalid() override { fError = true; } |
|
reed1
2016/04/19 12:54:11
needed?
robertphillips
2016/04/19 14:34:42
Done.
|
| bool validateAvailable(size_t size) override; |