Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 12 Sep 2012 02:00:57 +0000 (02:00 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 12 Sep 2012 02:00:57 +0000 (02:00 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@5504 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkBBoxHierarchy.cpp
src/core/SkBBoxHierarchyRecord.h
src/core/SkMaskGamma.h
src/core/SkPictureStateTree.cpp
src/core/SkPictureStateTree.h

index a99bb9d..7d061b5 100644 (file)
@@ -1,12 +1,12 @@
-\r
-/*\r
- * Copyright 2012 Google Inc.\r
- *\r
- * Use of this source code is governed by a BSD-style license that can be\r
- * found in the LICENSE file.\r
- */\r
-\r
-#include "SkBBoxHierarchy.h"\r
-\r
-SK_DEFINE_INST_COUNT(SkBBoxHierarchy)\r
-\r
+
+/*
+ * Copyright 2012 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "SkBBoxHierarchy.h"
+
+SK_DEFINE_INST_COUNT(SkBBoxHierarchy)
+
index 6c9e733..c0cf365 100644 (file)
@@ -22,13 +22,13 @@ public:
 
     virtual void handleBBox(const SkRect& bounds) SK_OVERRIDE;
 
-    virtual int save(SaveFlags flags = kMatrixClip_SaveFlag) SK_OVERRIDE; 
+    virtual int save(SaveFlags flags = kMatrixClip_SaveFlag) SK_OVERRIDE;
     virtual int saveLayer(const SkRect* bounds, const SkPaint* paint,
-                          SaveFlags flags = kARGB_ClipLayer_SaveFlag) SK_OVERRIDE; 
-    virtual void restore() SK_OVERRIDE; 
+                          SaveFlags flags = kARGB_ClipLayer_SaveFlag) SK_OVERRIDE;
+    virtual void restore() SK_OVERRIDE;
 
-    virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE; 
-    virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE; 
+    virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE;
+    virtual bool scale(SkScalar sx, SkScalar sy) SK_OVERRIDE;
     virtual bool rotate(SkScalar degrees) SK_OVERRIDE;
     virtual bool skew(SkScalar sx, SkScalar sy) SK_OVERRIDE;
     virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE;
@@ -36,12 +36,12 @@ public:
 
     virtual bool clipRect(const SkRect& rect,
                           SkRegion::Op op = SkRegion::kIntersect_Op,
-                          bool doAntiAlias = false) SK_OVERRIDE; 
+                          bool doAntiAlias = false) SK_OVERRIDE;
     virtual bool clipRegion(const SkRegion& region,
-                            SkRegion::Op op = SkRegion::kIntersect_Op) SK_OVERRIDE; 
+                            SkRegion::Op op = SkRegion::kIntersect_Op) SK_OVERRIDE;
     virtual bool clipPath(const SkPath& path,
                           SkRegion::Op op = SkRegion::kIntersect_Op,
-                          bool doAntiAlias = false) SK_OVERRIDE; 
+                          bool doAntiAlias = false) SK_OVERRIDE;
 
 private:
     typedef SkBBoxRecord INHERITED;
index d8632df..961c1b1 100644 (file)
@@ -177,7 +177,7 @@ SK_DEFINE_INST_COUNT_TEMPLATE(
  * SkTMaskPreBlend is a tear-off of SkTMaskGamma. It provides the tables to
  * convert a linear alpha value for a given channel to a gamma correcting alpha
  * value for that channel. This class is immutable.
- * 
+ *
  * If fR, fG, or fB is NULL, all of them will be. This indicates that no mask
  * pre blend should be applied.
  */
index 31aa00b..fc36e4a 100644 (file)
@@ -64,7 +64,7 @@ void SkPictureStateTree::appendClip(uint32_t offset) {
     this->appendNode(offset);
 }
 
-SkPictureStateTree::Iterator SkPictureStateTree::getIterator(const SkTDArray<void*>& draws, 
+SkPictureStateTree::Iterator SkPictureStateTree::getIterator(const SkTDArray<void*>& draws,
                                                              SkCanvas* canvas) {
     return Iterator(draws, canvas, fRoot);
 }
index a4fb887..995f3f7 100644 (file)
@@ -44,7 +44,7 @@ public:
     SkPictureStateTree();
     ~SkPictureStateTree();
 
-    /** 
+    /**
      * Creates and returns a struct representing a draw at the given offset.
      */
     Draw* appendDraw(uint32_t offset);
@@ -108,7 +108,7 @@ private:
     // A stack of states for tracking save/restores
     SkDeque fStateStack;
 
-    // Represents a notable piece of state that requires an offset into the command buffer, 
+    // Represents a notable piece of state that requires an offset into the command buffer,
     // corresponding to a clip/saveLayer/etc call, to apply.
     struct Node {
         Node* fParent;