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

Unified Diff: public/platform/WebGraphicsContext3D.h

Issue 1158913002: Replacing the 'return 0;' statements with 'return nullptr;' (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « public/platform/WebCrypto.h ('k') | public/platform/WebMediaPlayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebGraphicsContext3D.h
diff --git a/public/platform/WebGraphicsContext3D.h b/public/platform/WebGraphicsContext3D.h
index 818f4a63e6da101b6517f503f7528277b020d67e..c210419c8ecf1645eb7fe8d2a56fd4abee4340b1 100644
--- a/public/platform/WebGraphicsContext3D.h
+++ b/public/platform/WebGraphicsContext3D.h
@@ -450,7 +450,7 @@ public:
virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
// GL_CHROMIUM_pixel_transfer_buffer_object
- virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access) { return 0; }
+ virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access) { return nullptr; }
virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target) { return false; }
// GL_CHROMIUM_async_pixel_transfers
@@ -461,7 +461,7 @@ public:
// GL_EXT_draw_buffers
virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs) { }
- virtual GrGLInterface* createGrGLInterface() { return 0; }
+ virtual GrGLInterface* createGrGLInterface() { return nullptr; }
// GL_CHROMIUM_image
virtual void destroyImageCHROMIUM(WGC3Duint imageId) { }
@@ -500,7 +500,7 @@ public:
virtual void deleteTransformFeedback(WebGLId transformfeedback) { }
virtual void drawRangeElements(WGC3Denum mode, WGC3Duint start, WGC3Duint end, WGC3Dsizei count, WGC3Denum type, WGC3Dintptr offset) { }
virtual void endTransformFeedback(void) { }
- virtual WGC3Dsync fenceSync(WGC3Denum condition, WGC3Dbitfield flags) { return 0; }
+ virtual WGC3Dsync fenceSync(WGC3Denum condition, WGC3Dbitfield flags) { return nullptr; }
virtual void framebufferTextureLayer(WGC3Denum target, WGC3Denum attachment, WGC3Duint texture, WGC3Dint level, WGC3Dint layer) { }
virtual void getActiveUniformBlockName(WebGLId program, WGC3Duint uniformBlockIndex, WGC3Dsizei bufSize, WGC3Dsizei *length, WGC3Dchar *uniformBlockName) { }
virtual void getActiveUniformBlockiv(WebGLId program, WGC3Duint uniformBlockIndex, WGC3Denum pname, WGC3Dint *params) { }
« no previous file with comments | « public/platform/WebCrypto.h ('k') | public/platform/WebMediaPlayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698