Index: content/common/gpu/media/exynos_v4l2_video_device.cc |
diff --git a/content/common/gpu/media/exynos_v4l2_video_device.cc b/content/common/gpu/media/exynos_v4l2_video_device.cc |
index 214a4311ab39466d8a7b37b9940fa119a8dabadb..fe4bbfdfc2eb6f45bfe74101899784e7f0d8f842 100644 |
--- a/content/common/gpu/media/exynos_v4l2_video_device.cc |
+++ b/content/common/gpu/media/exynos_v4l2_video_device.cc |
@@ -110,7 +110,7 @@ bool ExynosV4L2Device::ClearDevicePollInterrupt() { |
} |
bool ExynosV4L2Device::Initialize() { |
- const char* device_path = NULL; |
+ const char* device_path = nullptr; |
switch (type_) { |
case kDecoder: |
device_path = kDecoderDevice; |
@@ -177,7 +177,7 @@ EGLImageKHR ExynosV4L2Device::CreateEGLImage(EGLDisplay egl_display, |
attrs[17] = frame_buffer_size.width(); |
EGLImageKHR egl_image = eglCreateImageKHR( |
- egl_display, EGL_NO_CONTEXT, EGL_LINUX_DMA_BUF_EXT, NULL, attrs); |
+ egl_display, EGL_NO_CONTEXT, EGL_LINUX_DMA_BUF_EXT, nullptr, attrs); |
if (egl_image == EGL_NO_IMAGE_KHR) { |
return egl_image; |
} |