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

Side by Side Diff: gm/multipicturedraw.cpp

Issue 1088763005: Cleanup: Remove unnecessary double-semicolons. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « gm/bitmappremul.cpp ('k') | gm/textblobtransforms.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "gm.h" 8 #include "gm.h"
9 9
10 #include "SkColorFilter.h" 10 #include "SkColorFilter.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 tri.rLineTo(-kTriSide, 0); 147 tri.rLineTo(-kTriSide, 0);
148 tri.close(); 148 tri.close();
149 return tri; 149 return tri;
150 } 150 }
151 151
152 static const SkPicture* make_tri_picture() { 152 static const SkPicture* make_tri_picture() {
153 SkPath tri = make_tri_path(SkScalarHalf(kTriSide), 0); 153 SkPath tri = make_tri_path(SkScalarHalf(kTriSide), 0);
154 154
155 SkPaint fill; 155 SkPaint fill;
156 fill.setStyle(SkPaint::kFill_Style); 156 fill.setStyle(SkPaint::kFill_Style);
157 fill.setColor(SK_ColorLTGRAY);; 157 fill.setColor(SK_ColorLTGRAY);
158 158
159 SkPaint stroke; 159 SkPaint stroke;
160 stroke.setStyle(SkPaint::kStroke_Style); 160 stroke.setStyle(SkPaint::kStroke_Style);
161 stroke.setStrokeWidth(3); 161 stroke.setStrokeWidth(3);
162 162
163 SkPictureRecorder recorder; 163 SkPictureRecorder recorder;
164 SkRTreeFactory bbhFactory; 164 SkRTreeFactory bbhFactory;
165 165
166 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), 166 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth),
167 SkIntToScalar(kPicHeight), 167 SkIntToScalar(kPicHeight),
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 MultiPictureDraw::kTiled_Layout) );) 563 MultiPictureDraw::kTiled_Layout) );)
564 DEF_GM(return SkNEW_ARGS(MultiPictureDraw, (MultiPictureDraw::kPathClipMulti _Content, 564 DEF_GM(return SkNEW_ARGS(MultiPictureDraw, (MultiPictureDraw::kPathClipMulti _Content,
565 MultiPictureDraw::kTiled_Layout) );) 565 MultiPictureDraw::kTiled_Layout) );)
566 DEF_GM(return SkNEW_ARGS(MultiPictureDraw, (MultiPictureDraw::kInvPathClipMu lti_Content, 566 DEF_GM(return SkNEW_ARGS(MultiPictureDraw, (MultiPictureDraw::kInvPathClipMu lti_Content,
567 MultiPictureDraw::kTiled_Layout) );) 567 MultiPictureDraw::kTiled_Layout) );)
568 DEF_GM(return SkNEW_ARGS(MultiPictureDraw, (MultiPictureDraw::kSierpinski_Co ntent, 568 DEF_GM(return SkNEW_ARGS(MultiPictureDraw, (MultiPictureDraw::kSierpinski_Co ntent,
569 MultiPictureDraw::kTiled_Layout) );) 569 MultiPictureDraw::kTiled_Layout) );)
570 DEF_GM(return SkNEW_ARGS(MultiPictureDraw, (MultiPictureDraw::kBigLayer_Cont ent, 570 DEF_GM(return SkNEW_ARGS(MultiPictureDraw, (MultiPictureDraw::kBigLayer_Cont ent,
571 MultiPictureDraw::kTiled_Layout) );) 571 MultiPictureDraw::kTiled_Layout) );)
572 } 572 }
OLDNEW
« no previous file with comments | « gm/bitmappremul.cpp ('k') | gm/textblobtransforms.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698