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

Unified Diff: src/gpu/gl/GrGLExtensions.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/gpu/gl/GrGLDefaultInterface_none.cpp ('k') | src/gpu/gl/GrGLFragmentProcessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLExtensions.cpp
diff --git a/src/gpu/gl/GrGLExtensions.cpp b/src/gpu/gl/GrGLExtensions.cpp
index f2d54ff687c59e8f816fb3e124101d7127062719..6d716d190faf74de921ef09f32b4cc7d74f697f1 100644
--- a/src/gpu/gl/GrGLExtensions.cpp
+++ b/src/gpu/gl/GrGLExtensions.cpp
@@ -48,7 +48,7 @@ bool GrGLExtensions::init(GrGLStandard standard,
fInitialized = false;
fStrings->reset();
- if (NULL == getString) {
+ if (nullptr == getString) {
return false;
}
@@ -62,7 +62,7 @@ bool GrGLExtensions::init(GrGLStandard standard,
bool indexed = version >= GR_GL_VER(3, 0);
if (indexed) {
- if (NULL == getStringi || NULL == getIntegerv) {
+ if (nullptr == getStringi || nullptr == getIntegerv) {
return false;
}
GrGLint extensionCnt = 0;
@@ -74,7 +74,7 @@ bool GrGLExtensions::init(GrGLStandard standard,
}
} else {
const char* extensions = (const char*) getString(GR_GL_EXTENSIONS);
- if (NULL == extensions) {
+ if (nullptr == extensions) {
return false;
}
while (true) {
@@ -133,7 +133,7 @@ void GrGLExtensions::add(const char ext[]) {
}
void GrGLExtensions::print(const char* sep) const {
- if (NULL == sep) {
+ if (nullptr == sep) {
sep = " ";
}
int cnt = fStrings->count();
« no previous file with comments | « src/gpu/gl/GrGLDefaultInterface_none.cpp ('k') | src/gpu/gl/GrGLFragmentProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698