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

Unified Diff: public/platform/WebMediaPlayer.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/WebGraphicsContext3D.h ('k') | public/platform/WebMediaStreamCenter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebMediaPlayer.h
diff --git a/public/platform/WebMediaPlayer.h b/public/platform/WebMediaPlayer.h
index 173a315b01e607f7d3db88d4390c9a69cf34a1a4..0410e1dc8b79050debf538e11920bcf53f0adf01 100644
--- a/public/platform/WebMediaPlayer.h
+++ b/public/platform/WebMediaPlayer.h
@@ -143,7 +143,7 @@ public:
virtual unsigned decodedFrameCount() const = 0;
virtual unsigned droppedFrameCount() const = 0;
- virtual unsigned corruptedFrameCount() const { return 0; };
+ virtual unsigned corruptedFrameCount() const { return 0; }
virtual unsigned audioDecodedByteCount() const = 0;
virtual unsigned videoDecodedByteCount() const = 0;
@@ -151,7 +151,7 @@ public:
// Do a GPU-GPU textures copy if possible.
virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned texture, unsigned level, unsigned internalFormat, unsigned type, bool premultiplyAlpha, bool flipY) { return false; }
- virtual WebAudioSourceProvider* audioSourceProvider() { return 0; }
+ virtual WebAudioSourceProvider* audioSourceProvider() { return nullptr; }
// Returns whether keySystem is supported. If true, the result will be
// reported by an event.
« no previous file with comments | « public/platform/WebGraphicsContext3D.h ('k') | public/platform/WebMediaStreamCenter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698