diff options
author | 2012-10-11 02:01:14 +0000 | |
---|---|---|
committer | 2012-10-11 02:01:14 +0000 | |
commit | fc84359aa920567e72742877a1249f52d076ad35 (patch) | |
tree | fac1e2583f388f9ff09f6592775f58e06958cae0 /gm | |
parent | 9f25de79009ce721aa13abe71c38179d5a6710e2 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5892 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/shadertext2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/shadertext2.cpp b/gm/shadertext2.cpp index 519e41f4c3..387bd498b0 100644 --- a/gm/shadertext2.cpp +++ b/gm/shadertext2.cpp @@ -23,7 +23,7 @@ static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) { static const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; static const SkColor kColors0[] = {0x40FF00FF, 0xF0FFFF00, 0x4000FFFF }; static const SkColor kColors1[] = {0xF0FF00FF, 0x80FFFF00, 0xF000FFFF }; - + SkPaint paint; @@ -95,7 +95,7 @@ protected: if (bmp.isNull()) { makebm(&bmp, SkBitmap::kARGB_8888_Config, kPointSize / 2, kPointSize / 2); } - + SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(bmp, SkShader::kMirror_TileMode, SkShader::kRepeat_TileMode)); |