Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Unified Diff: samplecode/SampleStrokeText.cpp

Issue 12906016: Fix more clang tautological-constant-out-of-range-compare errors. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: address review Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/animator/SkDrawPaint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleStrokeText.cpp
diff --git a/samplecode/SampleStrokeText.cpp b/samplecode/SampleStrokeText.cpp
index 4e9fe0d59fe09ca1bec3baebb4989f268858c1b8..aa190179640c2a4d148d01cb2905d2d8b0120a9a 100644
--- a/samplecode/SampleStrokeText.cpp
+++ b/samplecode/SampleStrokeText.cpp
@@ -106,9 +106,8 @@ static void lettersToBitmap2(SkBitmap* dst, const char chars[],
}
class StrokeTextView : public SampleView {
- bool fAA;
public:
- StrokeTextView() : fAA(false) {
+ StrokeTextView() {
this->setBGColor(0xFFCC8844);
}
« no previous file with comments | « no previous file | src/animator/SkDrawPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698