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

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: 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
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);

Powered by Google App Engine
This is Rietveld 408576698