| Index: include/core/SkReader32.h
|
| diff --git a/include/core/SkReader32.h b/include/core/SkReader32.h
|
| index 51e28ef146c062b29b2c9b5af5d98225a0911ac3..3ee63bed18656f9729fbe470e7a640d0c982d4be 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,21 +106,25 @@ 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) {
|
| + return this->readObjectFromMemory(patch);
|
| + }
|
|
|
| bool readPath(SkPath* path) {
|
| - return readObjectFromMemory(path);
|
| + return this->readObjectFromMemory(path);
|
| }
|
|
|
| bool readMatrix(SkMatrix* matrix) {
|
| - return readObjectFromMemory(matrix);
|
| + return this->readObjectFromMemory(matrix);
|
| }
|
|
|
| bool readRRect(SkRRect* rrect) {
|
| - return readObjectFromMemory(rrect);
|
| + return this->readObjectFromMemory(rrect);
|
| }
|
|
|
| bool readRegion(SkRegion* rgn) {
|
| - return readObjectFromMemory(rgn);
|
| + return this->readObjectFromMemory(rgn);
|
| }
|
|
|
| /**
|
|
|