From fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 Mon Sep 17 00:00:00 2001 From: "rmistry@google.com" Date: Thu, 23 Aug 2012 18:09:54 +0000 Subject: Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) This CL is part I of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6485054 git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/svg/SkSVGBase.h | 2 +- include/svg/SkSVGPaintState.h | 4 ++-- include/svg/SkSVGParser.h | 2 +- include/svg/SkSVGTypes.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include/svg') diff --git a/include/svg/SkSVGBase.h b/include/svg/SkSVGBase.h index 234ba8b443..a512eabed1 100644 --- a/include/svg/SkSVGBase.h +++ b/include/svg/SkSVGBase.h @@ -17,7 +17,7 @@ class SkSVGParser; class SkSVGBase { public: virtual ~SkSVGBase(); - virtual void addAttribute(SkSVGParser& parser, int attrIndex, + virtual void addAttribute(SkSVGParser& parser, int attrIndex, const char* attrValue, size_t attrLength); virtual int getAttributes(const SkSVGAttribute** attrPtr) = 0; }; diff --git a/include/svg/SkSVGPaintState.h b/include/svg/SkSVGPaintState.h index 76c5daf557..211e9cfce4 100644 --- a/include/svg/SkSVGPaintState.h +++ b/include/svg/SkSVGPaintState.h @@ -42,10 +42,10 @@ public: }; SkSVGPaint(); - virtual void addAttribute(SkSVGParser& parser, int attrIndex, + virtual void addAttribute(SkSVGParser& parser, int attrIndex, const char* attrValue, size_t attrLength); bool flush(SkSVGParser& , bool isFlushable, bool isDef); - virtual int getAttributes(const SkSVGAttribute** attrPtr); + virtual int getAttributes(const SkSVGAttribute** attrPtr); static void Push(SkSVGPaint** head, SkSVGPaint* add); static void Pop(SkSVGPaint** head); SkString* operator[](int index); diff --git a/include/svg/SkSVGParser.h b/include/svg/SkSVGParser.h index a58729de80..c2f9112e64 100644 --- a/include/svg/SkSVGParser.h +++ b/include/svg/SkSVGParser.h @@ -55,7 +55,7 @@ private: static void Delete(SkTDArray& fChildren); static SkSVGTypes GetType(const char name[], size_t len); SkSVGPaint* fHead; - SkSVGPaint fEmptyPaint; + SkSVGPaint fEmptyPaint; SkSVGPaint fLastFlush; SkString fLastColor; SkMatrix fLastTransform; diff --git a/include/svg/SkSVGTypes.h b/include/svg/SkSVGTypes.h index 28830a134c..b13bc6e4fc 100644 --- a/include/svg/SkSVGTypes.h +++ b/include/svg/SkSVGTypes.h @@ -33,7 +33,7 @@ enum SkSVGTypes { SkSVGType_Symbol, SkSVGType_Text, SkSVGType_Tspan, - SkSVGType_Unknown, + SkSVGType_Unknown, SkSVGType_Use }; -- cgit v1.2.3