From 73a4b4f91fac1783b589eead5e82b0c0771644de Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Wed, 26 Jun 2013 07:00:59 +0000 Subject: [PATCH] Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@9763 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkBitmap.h | 2 +- src/utils/SkDumpCanvas.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index 0a26f0d..81c0342 100644 --- a/include/core/SkBitmap.h +++ b/include/core/SkBitmap.h @@ -60,7 +60,7 @@ public: */ kRLE_Index8_Config, }; - + // do not add this to the Config enum, otherwise the compiler will let us // pass this as a valid parameter for Config. enum { diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp index f04316e..0d5ca2b 100644 --- a/src/utils/SkDumpCanvas.cpp +++ b/src/utils/SkDumpCanvas.cpp @@ -505,7 +505,7 @@ void SkFormatDumper::dump(SkDumpCanvas* canvas, SkDumpCanvas::Verb verb, msg.appendf(" textSize:%g", SkScalarToFloat(p->getTextSize())); appendPtr(&msg, p->getTypeface(), "typeface"); } - + if (p->getStyle() != SkPaint::kFill_Style) { msg.appendf(" strokeWidth:%g", SkScalarToFloat(p->getStrokeWidth())); } -- 2.7.4