diff options
author | fmalita <fmalita@chromium.org> | 2016-07-26 18:46:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-26 18:46:34 -0700 |
commit | 6ceef3dd67617c5f4572ada98d5ee85777d2db99 (patch) | |
tree | 80d683062d7bba05f8fe4df14cedcb489dd4aa00 /include | |
parent | fc49d56feb2d890ccb3827ed087ab32e18a9da12 (diff) |
Initial SVG model
A minimal subset needed to render tiger.svg: <svg>, <g>, <path>, 'd', 'fill'/'stroke' (color-only), 'transform'.
R=reed@google.com,robertphillips@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2164193002
Review-Url: https://codereview.chromium.org/2164193002
Diffstat (limited to 'include')
-rw-r--r-- | include/xml/SkDOM.h | 2 | ||||
-rw-r--r-- | include/xml/SkXMLParser.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/xml/SkDOM.h b/include/xml/SkDOM.h index 10ca3e78f8..b6f611af6e 100644 --- a/include/xml/SkDOM.h +++ b/include/xml/SkDOM.h @@ -79,7 +79,7 @@ public: class AttrIter { public: - AttrIter(const class SkDOM&, const Node*); + AttrIter(const SkDOM&, const Node*); const char* next(const char** value); private: const Attr* fAttr; diff --git a/include/xml/SkXMLParser.h b/include/xml/SkXMLParser.h index 2974fb57cf..3f69013ce6 100644 --- a/include/xml/SkXMLParser.h +++ b/include/xml/SkXMLParser.h @@ -73,10 +73,10 @@ protected: public: // public for ported implementation, not meant for clients to call - virtual bool startElement(const char elem[]); - virtual bool addAttribute(const char name[], const char value[]); - virtual bool endElement(const char elem[]); - virtual bool text(const char text[], int len); + bool startElement(const char elem[]); + bool addAttribute(const char name[], const char value[]); + bool endElement(const char elem[]); + bool text(const char text[], int len); void* fParser; protected: SkXMLParserError* fError; |