Sanitizing source files in Housekeeper-Nightly
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 30 May 2013 07:01:29 +0000 (07:01 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 30 May 2013 07:01:29 +0000 (07:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@9343 2bbb7eff-a529-9590-31e7-b0007b416f81

debugger/SkDrawCommand.cpp
gm/cmykjpeg.cpp
include/core/SkCanvas.h
src/core/SkBitmapProcBicubic.cpp
src/core/SkCanvas.cpp

index 0504fb5..854c7fc 100644 (file)
@@ -12,7 +12,7 @@
 
 // TODO(chudy): Refactor into non subclass model.
 
-SkDrawCommand::SkDrawCommand(DrawType type) 
+SkDrawCommand::SkDrawCommand(DrawType type)
     : fDrawType(type)
     , fVisible(true) {
 }
@@ -306,7 +306,7 @@ void DrawData::execute(SkCanvas* canvas) {
     canvas->drawData(fData, fLength);
 }
 
-BeginCommentGroup::BeginCommentGroup(const char* description) 
+BeginCommentGroup::BeginCommentGroup(const char* description)
     : INHERITED(BEGIN_COMMENT_GROUP)
     , fDescription(description) {
     SkString* temp = new SkString;
index b0b175b..f8728c2 100644 (file)
@@ -38,7 +38,7 @@ protected:
             SkDebugf("Could not find CMYK.jpg, please set --resourcePath correctly.\n");
             return;
         }
-        
+
         SkImageDecoder* codec = SkImageDecoder::Factory(&stream);
         if (codec) {
             stream.rewind();
index b315797..0a4b779 100644 (file)
@@ -856,8 +856,8 @@ public:
         // do nothing. Subclasses may do something with the data
     }
 
-    /** Add comments. beginCommentGroup/endCommentGroup open/close a new group. 
-        Each comment added via addComment is notionally attached to its 
+    /** Add comments. beginCommentGroup/endCommentGroup open/close a new group.
+        Each comment added via addComment is notionally attached to its
         enclosing group. Top-level comments simply belong to no group.
      */
     virtual void beginCommentGroup(const char* description) {
index c00fd0a..1c415fd 100644 (file)
@@ -27,7 +27,7 @@ static inline SkPMColor cubicBlend(const SkFixed cc[4], SkPMColor c0, SkPMColor
     int r = SkClampMax(SkFixedRoundToInt(fr), a);
     int g = SkClampMax(SkFixedRoundToInt(fg), a);
     int b = SkClampMax(SkFixedRoundToInt(fb), a);
-    
+
     return SkPackARGB32(a, r, g, b);
 }
 
@@ -54,7 +54,7 @@ static void bicubicFilter(const SkBitmapProcState& s, int x, int y,
 
     const int maxX = s.fBitmap->width() - 1;
     const int maxY = s.fBitmap->height() - 1;
-    
+
     while (count-- > 0) {
         SkPoint srcPt;
         s.fInvProc(*s.fInvMatrix, SkIntToScalar(x),
@@ -63,14 +63,14 @@ static void bicubicFilter(const SkBitmapProcState& s, int x, int y,
         srcPt.fY -= SK_ScalarHalf;
         SkScalar fractx = srcPt.fX - SkScalarFloorToScalar(srcPt.fX);
         SkScalar fracty = srcPt.fY - SkScalarFloorToScalar(srcPt.fY);
-        
+
         SkFixed coeffX[4], coeffY[4];
         build_coeff4(coeffX, coefficients, fractx);
         build_coeff4(coeffY, coefficients, fracty);
-        
+
         int sx = SkScalarFloorToInt(srcPt.fX);
         int sy = SkScalarFloorToInt(srcPt.fY);
-        
+
         // Here is where we can support other tile modes (e.g. repeat or mirror)
         int x0 = SkClampMax(sx - 1, maxX);
         int x1 = SkClampMax(sx    , maxX);
index d8fd0a4..07b615a 100644 (file)
@@ -1296,7 +1296,7 @@ bool SkCanvas::updateClipConservativelyUsingBounds(const SkRect& bounds, SkRegio
     // don't have to worry about getting caught in a loop. Thus anywhere
     // we call a virtual method, we explicitly prefix it with
     // SkCanvas:: to be sure to call the base-class.
-                                                   
+
     if (inverseFilled) {
         switch (op) {
             case SkRegion::kIntersect_Op: