aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
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;