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

Side by Side Diff: src/core/SkVertState.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 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/core/SkVertState.h ('k') | src/core/SkWriteBuffer.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 "SkVertState.h" 8 #include "SkVertState.h"
9 9
10 bool VertState::Triangles(VertState* state) { 10 bool VertState::Triangles(VertState* state) {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 VertState::Proc VertState::chooseProc(SkCanvas::VertexMode mode) { 95 VertState::Proc VertState::chooseProc(SkCanvas::VertexMode mode) {
96 switch (mode) { 96 switch (mode) {
97 case SkCanvas::kTriangles_VertexMode: 97 case SkCanvas::kTriangles_VertexMode:
98 return fIndices ? TrianglesX : Triangles; 98 return fIndices ? TrianglesX : Triangles;
99 case SkCanvas::kTriangleStrip_VertexMode: 99 case SkCanvas::kTriangleStrip_VertexMode:
100 return fIndices ? TriangleStripX : TriangleStrip; 100 return fIndices ? TriangleStripX : TriangleStrip;
101 case SkCanvas::kTriangleFan_VertexMode: 101 case SkCanvas::kTriangleFan_VertexMode:
102 return fIndices ? TriangleFanX : TriangleFan; 102 return fIndices ? TriangleFanX : TriangleFan;
103 default: 103 default:
104 return NULL; 104 return nullptr;
105 } 105 }
106 } 106 }
OLDNEW
« no previous file with comments | « src/core/SkVertState.h ('k') | src/core/SkWriteBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698