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

Unified Diff: src/core/SkUtilsArm.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, 4 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 | « src/core/SkUtils.cpp ('k') | src/core/SkValidatingReadBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkUtilsArm.cpp
diff --git a/src/core/SkUtilsArm.cpp b/src/core/SkUtilsArm.cpp
index 9fd19a56a7d4765cdf5807fe554301c0aa6bf772..9dc4e5472abbaa0f91d4ecb9e9a9b25e80bbce17 100644
--- a/src/core/SkUtilsArm.cpp
+++ b/src/core/SkUtilsArm.cpp
@@ -88,7 +88,7 @@ static bool sk_cpu_arm_check_neon(void) {
char* line = (char*) memmem(buffer, buffer_end - buffer,
features, features_len);
- if (line == NULL) { // Weird, no Features line, bad kernel?
+ if (line == nullptr) { // Weird, no Features line, bad kernel?
SkDebugf("Could not find a line starting with 'Features'"
"in /proc/cpuinfo ?\n");
break;
@@ -98,7 +98,7 @@ static bool sk_cpu_arm_check_neon(void) {
// Find the end of the current line
char* line_end = (char*) memchr(line, '\n', buffer_end - line);
- if (line_end == NULL)
+ if (line_end == nullptr)
line_end = buffer_end;
// Now find an instance of 'neon' in the flags list. We want to
@@ -108,7 +108,7 @@ static bool sk_cpu_arm_check_neon(void) {
const size_t neon_len = sizeof(neon)-1;
const char* flag = (const char*) memmem(line, line_end - line,
neon, neon_len);
- if (flag == NULL)
+ if (flag == nullptr)
break;
// Ensure it is followed by a space or a newline.
« no previous file with comments | « src/core/SkUtils.cpp ('k') | src/core/SkValidatingReadBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698