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

Side by Side Diff: tests/SwizzlerTest.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 | « tests/SurfaceTest.cpp ('k') | tests/TLSTest.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 2015 Google Inc. 2 * Copyright 2015 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 "SkSwizzler.h" 8 #include "SkSwizzler.h"
9 #include "Test.h" 9 #include "Test.h"
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // Test all possible start rows with all possible end rows 109 // Test all possible start rows with all possible end rows
110 for (uint32_t startRow = 0; startRow < height; startRow++) { 110 for (uint32_t startRow = 0; startRow < height; startRow++) {
111 for (uint32_t endRow = startRow; endRow < height; endRow ++) { 111 for (uint32_t endRow = startRow; endRow < height; endRow ++) {
112 112
113 // Fill with an index that we use to look up a color 113 // Fill with an index that we use to look up a color
114 check_fill(r, colorInfo, startRow, endRow, colorRowB ytes, offset, 114 check_fill(r, colorInfo, startRow, endRow, colorRowB ytes, offset,
115 kFillIndex, colorTable); 115 kFillIndex, colorTable);
116 116
117 // Fill with a color 117 // Fill with a color
118 check_fill(r, colorInfo, startRow, endRow, colorRowB ytes, offset, 118 check_fill(r, colorInfo, startRow, endRow, colorRowB ytes, offset,
119 kFillColor, NULL); 119 kFillColor, nullptr);
120 120
121 // Fill with an index 121 // Fill with an index
122 check_fill(r, indexInfo, startRow, endRow, indexRowB ytes, offset, 122 check_fill(r, indexInfo, startRow, endRow, indexRowB ytes, offset,
123 kFillIndex, NULL); 123 kFillIndex, nullptr);
124 124
125 // Fill a grayscale image 125 // Fill a grayscale image
126 check_fill(r, grayInfo, startRow, endRow, grayRowByt es, offset, 126 check_fill(r, grayInfo, startRow, endRow, grayRowByt es, offset,
127 kFillColor, NULL); 127 kFillColor, nullptr);
128 } 128 }
129 } 129 }
130 } 130 }
131 } 131 }
132 } 132 }
133 } 133 }
134 } 134 }
OLDNEW
« no previous file with comments | « tests/SurfaceTest.cpp ('k') | tests/TLSTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698