aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-20 07:01:02 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-20 07:01:02 +0000
commit01c34ee59906f729f6ca7d35f0c0e5e2f5e693fe (patch)
treefb99f083c18a79f155295aa8e5a2030c3a563a10 /src/core
parent3fbab82bd30158ccabc708a20419025923e08655 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8249 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkScalerContext.cpp4
-rw-r--r--src/core/SkScalerContext.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp
index 109f632fd2..1f04960690 100644
--- a/src/core/SkScalerContext.cpp
+++ b/src/core/SkScalerContext.cpp
@@ -124,7 +124,7 @@ static SkScalerContext* allocNextContext(const SkScalerContext::Rec& rec) {
if (0 == newFace) {
return NULL;
}
-
+
SkAutoTUnref<SkTypeface> aur(newFace);
uint32_t newFontID = newFace->uniqueID();
@@ -784,5 +784,3 @@ SkScalerContext* SkTypeface::createScalerContext(const SkDescriptor* desc) const
}
return c;
}
-
-
diff --git a/src/core/SkScalerContext.h b/src/core/SkScalerContext.h
index fba3e1e20d..94371a4720 100644
--- a/src/core/SkScalerContext.h
+++ b/src/core/SkScalerContext.h
@@ -217,7 +217,7 @@ protected:
private:
// never null
SkAutoTUnref<SkTypeface> fTypeface;
-
+
// optional object, which may be null
SkPathEffect* fPathEffect;
SkMaskFilter* fMaskFilter;