From 8f6ef4010f6835c5ce9ede180e50a6a58512a81e Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Wed, 5 Jun 2013 07:01:06 +0000 Subject: Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@9440 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkPaint.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/SkPaint.cpp') diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp index e781cd45a7..886794c479 100644 --- a/src/core/SkPaint.cpp +++ b/src/core/SkPaint.cpp @@ -961,10 +961,10 @@ SkScalar SkPaint::setupForAsPaths() { flags &= ~TEXT_AS_PATHS_PAINT_FLAGS_TO_IGNORE; // set the flags we do care about flags |= SkPaint::kSubpixelText_Flag; - + this->setFlags(flags); this->setHinting(SkPaint::kNo_Hinting); - + SkScalar textSize = fTextSize; this->setTextSize(kCanonicalTextSizeForPaths); return textSize / kCanonicalTextSizeForPaths; @@ -981,7 +981,7 @@ public: } const SkPaint& getPaint() const { return *fPaint; } - + /** * Returns 0 if the paint was unmodified, or the scale factor need to * the original textSize @@ -1274,7 +1274,7 @@ SkScalar SkPaint::getFontMetrics(FontMetrics* metrics, SkScalar zoom) const { SkCanonicalizePaint canon(*this); const SkPaint& paint = canon.getPaint(); SkScalar scale = canon.getScale(); - + SkMatrix zoomMatrix, *zoomPtr = NULL; if (zoom) { zoomMatrix.setScale(zoom, zoom); -- cgit v1.2.3