diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-12 15:58:25 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-12 15:58:25 +0000 |
commit | ca47aae7ecfdafb5e88baee13737908b79a4c716 (patch) | |
tree | ddbff3f5142108238e24e4ec384abd7d19bcb57b /bench/DashBench.cpp | |
parent | fb883bf80422c4763921b3d6e2a9ac81596e77bf (diff) |
Minor cleanup
https://codereview.appspot.com/6927054/
git-svn-id: http://skia.googlecode.com/svn/trunk@6756 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/DashBench.cpp')
-rw-r--r-- | bench/DashBench.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/DashBench.cpp b/bench/DashBench.cpp index a3ed886b2e..b324cf2bc3 100644 --- a/bench/DashBench.cpp +++ b/bench/DashBench.cpp @@ -262,7 +262,7 @@ private: class DrawPointsDashingBench : public SkBenchmark { SkString fName; int fStrokeWidth; - bool fdoAA; + bool fDoAA; SkAutoTUnref<SkPathEffect> fPathEffect; @@ -275,7 +275,7 @@ public: : INHERITED(param) { fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); fStrokeWidth = strokeWidth; - fdoAA = doAA; + fDoAA = doAA; SkScalar vals[] = { SkIntToScalar(dashLength), SkIntToScalar(dashLength) }; fPathEffect.reset(new SkDashPathEffect(vals, 2, SK_Scalar1, false)); @@ -294,7 +294,7 @@ protected: p.setStyle(SkPaint::kStroke_Style); p.setStrokeWidth(SkIntToScalar(fStrokeWidth)); p.setPathEffect(fPathEffect); - p.setAntiAlias(fdoAA); + p.setAntiAlias(fDoAA); SkPoint pts[2] = { { SkIntToScalar(10), 0 }, |