Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/core/SkReader32.h

Issue 429343004: Stopped skipping tests in dm of SkPatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Moved DRAW_PATCH DrawType to the last position Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkReadBuffer.h ('k') | include/core/SkWriter32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
/**
« no previous file with comments | « include/core/SkReadBuffer.h ('k') | include/core/SkWriter32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698