aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-07 02:01:25 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-07 02:01:25 +0000
commitd21444aab7128c97f4e0eb5e9bf05111d5037292 (patch)
tree34a51b099652d22fc0c9bb13df2f63b8277d0f74 /src
parentdbfac8a72393eaf01670aeb3244de0e18d8faf98 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6699 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrClipMaskManager.cpp4
-rw-r--r--src/gpu/GrClipMaskManager.h2
-rw-r--r--src/gpu/GrReducedClip.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp
index d076ced281..15dc7e3f91 100644
--- a/src/gpu/GrClipMaskManager.cpp
+++ b/src/gpu/GrClipMaskManager.cpp
@@ -81,7 +81,7 @@ bool GrClipMaskManager::useSWOnlyPath(const ElementList& elements) {
bool useSW = false;
SkStroke stroke;
stroke.setDoFill(true);
-
+
for (ElementList::Iter iter(elements.headIter()); iter.get(); iter.next()) {
const Element* element = iter.get();
// rects can always be drawn directly w/o using the software path
@@ -915,7 +915,7 @@ GrTexture* GrClipMaskManager::createSoftwareClipMask(int32_t clipStackGenID,
GrAssert(Element::kPath_Type == element->getType());
SkPath clipPath = element->getPath();
clipPath.toggleInverseFillType();
- helper.draw(clipPath, stroke,
+ helper.draw(clipPath, stroke,
SkRegion::kReplace_Op,
element->isAA(),
0x00);
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index de16221d58..d4e6a8d9ee 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -129,7 +129,7 @@ private:
const GrReducedClip::ElementList& elements,
const SkIRect& clipSpaceIBounds);
- // Gets a texture to use for the clip mask. If true is returned then a cached mask was found
+ // Gets a texture to use for the clip mask. If true is returned then a cached mask was found
// that already contains the rasterization of the clip stack, otherwise an uninitialized texture
// is returned.
bool getMaskTexture(int32_t clipStackGenID,
diff --git a/src/gpu/GrReducedClip.cpp b/src/gpu/GrReducedClip.cpp
index 47457920bd..baa8533235 100644
--- a/src/gpu/GrReducedClip.cpp
+++ b/src/gpu/GrReducedClip.cpp
@@ -122,7 +122,7 @@ void ReduceClipStack(const SkClipStack& stack,
}
SkRect scalarBounds = SkRect::MakeFromIRect(*bounds);
-
+
// Now that we have determined the bounds to use and filtered out the trivial cases, call the
// helper that actually walks the stack.
reduced_stack_walker(stack, scalarBounds, result, initialState, requiresAA);