| Index: content/common/gpu/media/tegra_v4l2_video_device.cc
|
| diff --git a/content/common/gpu/media/tegra_v4l2_video_device.cc b/content/common/gpu/media/tegra_v4l2_video_device.cc
|
| index 991f54a76d3fdfa0dc541795df2a8a5f957d2867..d8387d1d9fd013f97b398a21c0259c1ce52de9fc 100644
|
| --- a/content/common/gpu/media/tegra_v4l2_video_device.cc
|
| +++ b/content/common/gpu/media/tegra_v4l2_video_device.cc
|
| @@ -36,7 +36,7 @@ typedef int32 (*TegraV4L2UseEglImage)(int fd,
|
| unsigned int buffer_index,
|
| void* egl_image);
|
|
|
| -#define TEGRAV4L2_SYM(name) TegraV4L2##name TegraV4L2_##name = NULL
|
| +#define TEGRAV4L2_SYM(name) TegraV4L2##name TegraV4L2_##name = nullptr
|
|
|
| TEGRAV4L2_SYM(Open);
|
| TEGRAV4L2_SYM(Close);
|
| @@ -62,7 +62,7 @@ class TegraFunctionSymbolFinder {
|
| do { \
|
| TegraV4L2_##name = reinterpret_cast<TegraV4L2##name>( \
|
| dlsym(RTLD_DEFAULT, "TegraV4L2_" #name)); \
|
| - if (TegraV4L2_##name == NULL) { \
|
| + if (TegraV4L2_##name == nullptr) { \
|
| LOG(ERROR) << "Failed to dlsym TegraV4L2_" #name; \
|
| return; \
|
| } \
|
| @@ -144,7 +144,7 @@ bool TegraV4L2Device::ClearDevicePollInterrupt() {
|
| }
|
|
|
| bool TegraV4L2Device::Initialize() {
|
| - const char* device_path = NULL;
|
| + const char* device_path = nullptr;
|
| switch (type_) {
|
| case kDecoder:
|
| device_path = kDecoderDevice;
|
|
|