Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 29 Nov 2012 02:01:19 +0000 (02:01 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 29 Nov 2012 02:01:19 +0000 (02:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@6594 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkPathEffect.h
include/effects/SkDashPathEffect.h
src/core/SkPathEffect.cpp
src/ports/SkFontHost_mac_coretext.cpp

index 44056a9902fe6ef39d36600de98392a9caad89da..c59d05365768490c2064124ec44afa49edd5c192 100644 (file)
@@ -136,14 +136,14 @@ public:
     /** \class PointData
 
         PointData aggregates all the information needed to draw the point
-        primitives returned by an 'asPoints' call. 
+        primitives returned by an 'asPoints' call.
     */
     class PointData {
     public:
         PointData()
             : fFlags(0) {
             fSize.set(SK_Scalar1, SK_Scalar1);
-            // 'asPoints' needs to initialize/fill-in 'fClipRect' if it sets 
+            // 'asPoints' needs to initialize/fill-in 'fClipRect' if it sets
             // the kUseClip flag
         };
         ~PointData() {};
@@ -171,7 +171,7 @@ public:
      *  Does applying this path effect to 'src' yield a set of points? If so,
      *  optionally return the points in 'results'.
      */
-    virtual bool asPoints(PointData* results, const SkPath& src, 
+    virtual bool asPoints(PointData* results, const SkPath& src,
                           const SkStrokeRec&, const SkMatrix&) const;
 
 protected:
index 52557c6dd80debce33e3ed72ad547c5a86817fab..5e8f14df805bc863cdef865e60a4c8827d46c158 100644 (file)
@@ -41,7 +41,7 @@ public:
 
     virtual bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*) SK_OVERRIDE;
 
-    virtual bool asPoints(PointData* results, const SkPath& src, 
+    virtual bool asPoints(PointData* results, const SkPath& src,
                           const SkStrokeRec&, const SkMatrix&) const SK_OVERRIDE;
 
     // overrides for SkFlattenable
index a64ebc77a60831eba6235cde4015ec9ebd8b808a..9e84b2f2bc4e07cf03d70064de3de184b3585fe5 100644 (file)
@@ -116,7 +116,7 @@ void SkPathEffect::computeFastBounds(SkRect* dst, const SkRect& src) {
     *dst = src;
 }
 
-bool SkPathEffect::asPoints(PointData* results, const SkPath& src, 
+bool SkPathEffect::asPoints(PointData* results, const SkPath& src,
                             const SkStrokeRec&, const SkMatrix&) const {
     return false;
 }
index c0fb97ac2a1f4e39c2b3503cec2995ff217227c9..8d987200b05b229da5cab4aac79b44eb559bff31 100644 (file)
@@ -1670,14 +1670,14 @@ static SK_SFNT_ULONG get_font_type_tag(SkFontID uniqueID) {
     if (!fontFormatRef) {
         return 0;
     }
-    
+
     SInt32 fontFormatValue;
     if (!CFNumberGetValue(fontFormatRef, kCFNumberSInt32Type, &fontFormatValue)) {
         CFRelease(fontFormatRef);
         return 0;
     }
     CFRelease(fontFormatRef);
-    
+
     switch (fontFormatValue) {
         case kCTFontFormatOpenTypePostScript:
             return SkSFNTHeader::fontType_OpenTypeCFF::TAG;
@@ -1700,7 +1700,7 @@ SkStream* SkFontHost::OpenStream(SkFontID uniqueID) {
     if (0 == fontType) {
         return NULL;
     }
-    
+
     // get table tags
     int numTables = CountTables(uniqueID);
     SkTDArray<SkFontTableTag> tableTags;
@@ -1752,7 +1752,7 @@ SkStream* SkFontHost::OpenStream(SkFontID uniqueID) {
                                                                          tableSize));
         entry->offset = SkEndian_SwapBE32(dataPtr - dataStart);
         entry->logicalLength = SkEndian_SwapBE32(tableSize);
-        
+
         dataPtr += (tableSize + 3) & ~3;
         ++entry;
     }