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

Unified Diff: content/common/media/media_stream_options.h

Issue 649533003: C++11 declares a type safe null pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Presubmit errors Created 6 years, 2 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 | « content/common/input/touch_event_stream_validator.cc ('k') | content/common/page_state_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/media_stream_options.h
diff --git a/content/common/media/media_stream_options.h b/content/common/media/media_stream_options.h
index e58f137000364a1a704f24bbf6328df65c31cb66..8fa7ca6778bf2fe5b210e73f179cff90bc06c8b6 100644
--- a/content/common/media/media_stream_options.h
+++ b/content/common/media/media_stream_options.h
@@ -62,7 +62,7 @@ class CONTENT_EXPORT StreamOptions {
// Fetches |value| from the first audio constraint with a name that matches
// |name| from |mandatory_audio| and |optional_audio|. First mandatory
// constraints are searched, then optional.
- // |is_mandatory| may be NULL but if it is provided, it is set
+ // |is_mandatory| may be nullptr but if it is provided, it is set
// to true if the found constraint is mandatory.
// Returns false if no constraint is found.
bool GetFirstAudioConstraintByName(const std::string& name,
@@ -72,7 +72,7 @@ class CONTENT_EXPORT StreamOptions {
// Fetches |value| from the first video constraint with a name that matches
// |name| from |mandatory_video| and |optional_video|. First mandatory
// constraints are searched, then optional.
- // |is_mandatory| may be NULL but if it is provided, it is set
+ // |is_mandatory| may be nullptr but if it is provided, it is set
// to true if the found constraint is mandatory.
// Returns false if no constraint is found.
bool GetFirstVideoConstraintByName(const std::string& name,
« no previous file with comments | « content/common/input/touch_event_stream_validator.cc ('k') | content/common/page_state_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698