Sanitizing source files in Housekeeper-Nightly
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 20 May 2014 03:05:34 +0000 (03:05 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 20 May 2014 03:05:34 +0000 (03:05 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@14793 2bbb7eff-a529-9590-31e7-b0007b416f81

debugger/SkDebugger.cpp
src/gpu/effects/GrDashingEffect.cpp
src/utils/debugger/SkDebugCanvas.h

index 394c0ad..af6900c 100644 (file)
@@ -155,4 +155,3 @@ void SkDebugger::getOverviewText(const SkTDArray<double>* typeTimes,
 void SkDebugger::getClipStackText(SkString* clipStack) {
     clipStack->set(fDebugCanvas->clipStackData());
 }
-
index 584d509..3b06c3a 100644 (file)
@@ -140,7 +140,7 @@ bool GrDashingEffect::DrawDashLine(const SkPoint pts[2], const SkPaint& paint, G
     SkPaint2GrPaintShader(context, paint, true, &grPaint);
 
     bool useAA = paint.isAntiAlias();
-    
+
     // Scale corrections of intervals and stroke from view matrix
     SkScalar parallelScale;
     SkScalar perpScale;
@@ -174,7 +174,7 @@ bool GrDashingEffect::DrawDashLine(const SkPoint pts[2], const SkPaint& paint, G
             context->drawRect(grPaint, startRect, NULL, &srcRotInv);
 
             ptsRot[0].fX += info.fIntervals[0] + info.fIntervals[1] - info.fPhase;
-            info.fPhase = 0; 
+            info.fPhase = 0;
         }
     }
 
@@ -195,17 +195,17 @@ bool GrDashingEffect::DrawDashLine(const SkPoint pts[2], const SkPaint& paint, G
         // If we didn't adjust the end point then we just need to make sure the ending
         // dash isn't a full dash
         if (0 == endAdj && endingInterval != info.fIntervals[0]) {
-            
+
             SkPoint endPts[2];
             endPts[1] = ptsRot[1];
             endPts[0].fY = endPts[1].fY;
-            endPts[0].fX = endPts[1].fX - endingInterval; 
+            endPts[0].fX = endPts[1].fX - endingInterval;
 
             SkRect endRect;
             endRect.set(endPts, 2);
             endRect.outset(xStroke, halfStroke);
             context->drawRect(grPaint, endRect, NULL, &srcRotInv);
-            
+
             ptsRot[1].fX -= endingInterval + info.fIntervals[1];
             if (ptsRot[0].fX >= ptsRot[1].fX) {
                 // Nothing left to draw so just return
@@ -346,7 +346,7 @@ private:
     typedef GrGLEffect INHERITED;
 };
 
-GLDashingLineEffect::GLDashingLineEffect(const GrBackendEffectFactory& factory, 
+GLDashingLineEffect::GLDashingLineEffect(const GrBackendEffectFactory& factory,
                                      const GrDrawEffect& drawEffect)
     : INHERITED (factory) {
     fPrevRect.fLeft = SK_ScalarNaN;
@@ -420,7 +420,7 @@ GrGLEffect::EffectKey GLDashingLineEffect::GenKey(const GrDrawEffect& drawEffect
 }
 
 //////////////////////////////////////////////////////////////////////////////
-    
+
 GrEffectRef* DashingLineEffect::Create(GrEffectEdgeType edgeType, const DashInfo& info,
                                      const SkMatrix& matrix, SkScalar strokeWidth) {
     if (info.fCount != 2) {
index be1b860..e94f30f 100644 (file)
@@ -329,7 +329,7 @@ private:
     void outputPoints(const SkPoint* pts, int count);
     void outputPointsCommon(const SkPoint* pts, int count);
     void outputScalar(SkScalar num);
-   
+
     typedef SkCanvas INHERITED;
 };