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
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index 8b30897..b7c06c3 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -328,7 +328,7 @@
} else {
return this->doNext(drawType);
}
- }
+ }
private:
SkLazyPaint fLazyPaint;
@@ -959,7 +959,7 @@
SkBitmap* result, SkIPoint* offset) SK_OVERRIDE {
return fDevice->filterImage(filter, src, ctm, result, offset);
}
-
+
private:
SkDevice* fDevice;
};
@@ -997,18 +997,18 @@
void SkCanvas::drawSprite(const SkBitmap& bitmap, int x, int y,
const SkPaint* paint) {
SkDEBUGCODE(bitmap.validate();)
-
+
if (reject_bitmap(bitmap)) {
return;
}
-
+
SkPaint tmp;
if (NULL == paint) {
paint = &tmp;
}
-
+
LOOPER_BEGIN_DRAWDEVICE(*paint, SkDrawFilter::kBitmap_Type)
-
+
while (iter.next()) {
paint = &looper.paint();
SkImageFilter* filter = paint->getImageFilter();
@@ -1165,11 +1165,11 @@
if (fMCRec->fRasterClip->isEmpty()) {
return false;
}
-
+
if (this->quickReject(path.getBounds())) {
fDeviceCMDirty = true;
fLocalBoundsCompareTypeDirty = true;
-
+
fClipStack.clipEmpty();
return fMCRec->fRasterClip->setEmpty();
}
@@ -1353,7 +1353,7 @@
// that can be larger than 32K in width or height).
r.iset(pinIntForScalar(ibounds.fLeft - inset),
pinIntForScalar(ibounds.fTop - inset),
- pinIntForScalar(ibounds.fRight + inset),
+ pinIntForScalar(ibounds.fRight + inset),
pinIntForScalar(ibounds.fBottom + inset));
inverse.mapRect(bounds, r);
}
@@ -1472,7 +1472,7 @@
if (this->quickReject(paint.computeFastStrokeBounds(r, &storage))) {
return;
}
- }
+ }
SkASSERT(pts != NULL);