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

Unified Diff: content/common/gpu/media/v4l2_video_encode_accelerator.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: convert newly added scoped_ptr's Created 4 years, 8 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_encode_accelerator.cc
diff --git a/content/common/gpu/media/v4l2_video_encode_accelerator.cc b/content/common/gpu/media/v4l2_video_encode_accelerator.cc
index d3631483f6bb94061bdf4b0be81262e5c20bf76b..8c36be52f884f106c2c075921fb1d14995701a10 100644
--- a/content/common/gpu/media/v4l2_video_encode_accelerator.cc
+++ b/content/common/gpu/media/v4l2_video_encode_accelerator.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "content/common/gpu/media/v4l2_video_encode_accelerator.h"
+
#include <fcntl.h>
#include <linux/videodev2.h>
#include <poll.h>
@@ -9,6 +11,8 @@
#include <sys/eventfd.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
+
+#include <memory>
#include <utility>
#include "base/callback.h"

Powered by Google App Engine
This is Rietveld 408576698