aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-10 02:01:26 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-10 02:01:26 +0000
commit453995e01d884d62ce2e808e0067e494c0c9c7fa (patch)
treedf58da1d25ca8c1c65186d8c30593f2ea70f2325 /src/core
parent31143cf37fa38dc98f71c71e518ecc21c83b5e27 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6376 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkMaskFilter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/SkMaskFilter.cpp b/src/core/SkMaskFilter.cpp
index 0eb3e6bb70..90925f1ff0 100644
--- a/src/core/SkMaskFilter.cpp
+++ b/src/core/SkMaskFilter.cpp
@@ -70,7 +70,7 @@ static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR,
int cx = mask.fBounds.centerX();
int cy = mask.fBounds.centerY();
SkMask m;
-
+
// top-left
m.fBounds = mask.fBounds;
m.fBounds.fRight = cx;
@@ -78,7 +78,7 @@ static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR,
extractMaskSubset(mask, &m);
m.fBounds.offsetTo(outerR.left(), outerR.top());
blitClippedMask(blitter, m, m.fBounds, clipR);
-
+
// top-right
m.fBounds = mask.fBounds;
m.fBounds.fLeft = cx + 1;
@@ -86,7 +86,7 @@ static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR,
extractMaskSubset(mask, &m);
m.fBounds.offsetTo(outerR.right() - m.fBounds.width(), outerR.top());
blitClippedMask(blitter, m, m.fBounds, clipR);
-
+
// bottom-left
m.fBounds = mask.fBounds;
m.fBounds.fRight = cx;
@@ -94,7 +94,7 @@ static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR,
extractMaskSubset(mask, &m);
m.fBounds.offsetTo(outerR.left(), outerR.bottom() - m.fBounds.height());
blitClippedMask(blitter, m, m.fBounds, clipR);
-
+
// bottom-right
m.fBounds = mask.fBounds;
m.fBounds.fLeft = cx + 1;
@@ -174,9 +174,9 @@ static void draw_nine(const SkMask& mask, const SkIRect& outerR,
// if we get here, we need to (possibly) resolve the clip and blitter
SkAAClipBlitterWrapper wrapper(clip, blitter);
blitter = wrapper.getBlitter();
-
+
SkRegion::Cliperator clipper(wrapper.getRgn(), outerR);
-
+
if (!clipper.done() && (!bounder || bounder->doIRect(outerR))) {
const SkIRect& cr = clipper.rect();
do {