Chromium Code Reviews| Index: include/core/SkReader32.h |
| diff --git a/include/core/SkReader32.h b/include/core/SkReader32.h |
| index 51e28ef146c062b29b2c9b5af5d98225a0911ac3..be07061d35038b0bd6d9a9dbfd6bd93c39e73c39 100644 |
| --- a/include/core/SkReader32.h |
| +++ b/include/core/SkReader32.h |
| @@ -15,6 +15,7 @@ |
| #include "SkRegion.h" |
| #include "SkRRect.h" |
| #include "SkScalar.h" |
| +#include "SkPatch.h" |
| class SkString; |
| @@ -105,6 +106,10 @@ public: |
| uint16_t readU16() { return (uint16_t)this->readInt(); } |
| int32_t readS32() { return this->readInt(); } |
| uint32_t readU32() { return this->readInt(); } |
| + |
| + bool readPatch(SkPatch* patch) { |
|
robertphillips
2014/08/04 18:44:18
this-> ?
dandov
2014/08/04 19:59:27
Done and also added (this->) to similar calls.
|
| + return readObjectFromMemory(patch); |
| + } |
| bool readPath(SkPath* path) { |
| return readObjectFromMemory(path); |