diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-29 07:01:50 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-29 07:01:50 +0000 |
commit | 70402c3168485f86d0445d1d9d7a41739c651e67 (patch) | |
tree | e0c4169c2b6b137682c1173a38b0da2d37d5cfdc | |
parent | 8ab77eae2c100247cb6daa35395c755468fe1cad (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11992 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | bench/DisplacementBench.cpp | 2 | ||||
-rwxr-xr-x | src/gpu/GrBitmapTextContext.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bench/DisplacementBench.cpp b/bench/DisplacementBench.cpp index bfe2e3e4af..72d482ee0e 100644 --- a/bench/DisplacementBench.cpp +++ b/bench/DisplacementBench.cpp @@ -74,7 +74,7 @@ protected: void drawClippedBitmap(SkCanvas* canvas, int x, int y, const SkPaint& paint) { canvas->save(); canvas->clipRect(SkRect::MakeXYWH(SkIntToScalar(x), SkIntToScalar(y), - SkIntToScalar(fBitmap.width()), + SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height()))); canvas->drawBitmap(fBitmap, SkIntToScalar(x), SkIntToScalar(y), &paint); canvas->restore(); diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp index 737e24baa1..d389ed65d2 100755 --- a/src/gpu/GrBitmapTextContext.cpp +++ b/src/gpu/GrBitmapTextContext.cpp @@ -78,7 +78,7 @@ void GrBitmapTextContext::flushGlyphs() { } // We don't use the GrPaint's color in this case because it's been premultiplied by // alpha. Instead we feed in a non-premultiplied color, and multiply its alpha by - // the mask texture color. The end result is that we get + // the mask texture color. The end result is that we get // mask*paintAlpha*paintColor + (1-mask*paintAlpha)*dstColor int a = SkColorGetA(fSkPaintColor); // paintAlpha |