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

Side by Side Diff: src/gpu/GrAAHairLinePathRenderer.h

Issue 1316123003: Style Change: SkNEW->new; SkDELETE->delete (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-26 (Wednesday) 15:59:00 EDT Created 5 years, 3 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 | « src/gpu/GrAADistanceFieldPathRenderer.cpp ('k') | src/gpu/GrAAHairLinePathRenderer.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef GrAAHairLinePathRenderer_DEFINED 9 #ifndef GrAAHairLinePathRenderer_DEFINED
10 #define GrAAHairLinePathRenderer_DEFINED 10 #define GrAAHairLinePathRenderer_DEFINED
11 11
12 #include "GrPathRenderer.h" 12 #include "GrPathRenderer.h"
13 13
14 class GrAAHairLinePathRenderer : public GrPathRenderer { 14 class GrAAHairLinePathRenderer : public GrPathRenderer {
15 public: 15 public:
16 static GrPathRenderer* Create() { return SkNEW(GrAAHairLinePathRenderer); } 16 static GrPathRenderer* Create() { return new GrAAHairLinePathRenderer; }
17 17
18 typedef SkTArray<SkPoint, true> PtArray; 18 typedef SkTArray<SkPoint, true> PtArray;
19 typedef SkTArray<int, true> IntArray; 19 typedef SkTArray<int, true> IntArray;
20 typedef SkTArray<float, true> FloatArray; 20 typedef SkTArray<float, true> FloatArray;
21 21
22 private: 22 private:
23 bool onCanDrawPath(const CanDrawPathArgs&) const override; 23 bool onCanDrawPath(const CanDrawPathArgs&) const override;
24 24
25 bool onDrawPath(const DrawPathArgs&) override; 25 bool onDrawPath(const DrawPathArgs&) override;
26 26
27 GrAAHairLinePathRenderer() {} 27 GrAAHairLinePathRenderer() {}
28 28
29 typedef GrPathRenderer INHERITED; 29 typedef GrPathRenderer INHERITED;
30 }; 30 };
31 31
32 32
33 #endif 33 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAADistanceFieldPathRenderer.cpp ('k') | src/gpu/GrAAHairLinePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698