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

Unified Diff: src/animator/SkXMLAnimatorWriter.h

Issue 896363002: add length parameter to addText, to match attr values (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove legacy addText site Created 5 years, 10 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/xml/SkXMLWriter.h ('k') | src/animator/SkXMLAnimatorWriter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/animator/SkXMLAnimatorWriter.h
diff --git a/src/animator/SkXMLAnimatorWriter.h b/src/animator/SkXMLAnimatorWriter.h
index 9cb596628da7a95be693bf242e2fa614a005397b..1aedadae353b8a2f82b440efbebb72352e6f78f5 100644
--- a/src/animator/SkXMLAnimatorWriter.h
+++ b/src/animator/SkXMLAnimatorWriter.h
@@ -21,11 +21,12 @@ public:
virtual ~SkXMLAnimatorWriter();
virtual void writeHeader();
SkDEBUGCODE(static void UnitTest(class SkCanvas* canvas);)
+
protected:
- virtual void onAddAttributeLen(const char name[], const char value[], size_t length);
- virtual void onEndElement();
- virtual void onStartElementLen(const char elem[], size_t length);
- virtual void onAddText(const char text[]) SK_OVERRIDE;
+ void onAddAttributeLen(const char name[], const char value[], size_t length) SK_OVERRIDE;
+ void onEndElement() SK_OVERRIDE;
+ void onStartElementLen(const char elem[], size_t length) SK_OVERRIDE;
+ void onAddText(const char text[], size_t length) SK_OVERRIDE;
private:
SkAnimator* fAnimator;
« no previous file with comments | « include/xml/SkXMLWriter.h ('k') | src/animator/SkXMLAnimatorWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698