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

Unified Diff: content/common/gpu/media/v4l2_video_device.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
Index: content/common/gpu/media/v4l2_video_device.h
diff --git a/content/common/gpu/media/v4l2_video_device.h b/content/common/gpu/media/v4l2_video_device.h
index f4b368f017eae41564291ceb648e12a3fa69aaed..0356ea6a1801c95217fb282e7979cd08a2f4a270 100644
--- a/content/common/gpu/media/v4l2_video_device.h
+++ b/content/common/gpu/media/v4l2_video_device.h
@@ -34,7 +34,8 @@ class V4L2Device {
};
// Creates and initializes an appropriate V4L2Device of |type| for the
- // current platform and returns a scoped_ptr<V4L2Device> on success, or NULL.
+ // current platform and returns a scoped_ptr<V4L2Device> on success,
+ // or nullptr.
static scoped_ptr<V4L2Device> Create(Type type);
// Parameters and return value are the same as for the standard ioctl() system
« no previous file with comments | « content/common/gpu/media/v4l2_video_decode_accelerator.cc ('k') | content/common/gpu/media/v4l2_video_encode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698