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

Unified Diff: chrome/gpu/arc_gpu_video_decode_accelerator.cc

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
« no previous file with comments | « chrome/gpu/arc_gpu_video_decode_accelerator.h ('k') | chrome_elf/blacklist/test/blacklist_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/arc_gpu_video_decode_accelerator.cc
diff --git a/chrome/gpu/arc_gpu_video_decode_accelerator.cc b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
index a2700b1e5c70f10c3f1c538fb7a2aa5209932cdf..b4b46b0da454249a619c6f9a6357041eeead1c85 100644
--- a/chrome/gpu/arc_gpu_video_decode_accelerator.cc
+++ b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chrome/gpu/arc_gpu_video_decode_accelerator.h"
+
#include "base/callback_helpers.h"
#include "base/logging.h"
#include "base/run_loop.h"
-#include "chrome/gpu/arc_gpu_video_decode_accelerator.h"
#include "content/public/gpu/gpu_video_decode_accelerator_factory.h"
#include "media/base/video_frame.h"
@@ -86,7 +87,7 @@ bool ArcGpuVideoDecodeAccelerator::Initialize(
vda_config.output_mode =
media::VideoDecodeAccelerator::Config::OutputMode::IMPORT;
- scoped_ptr<content::GpuVideoDecodeAcceleratorFactory> vda_factory =
+ std::unique_ptr<content::GpuVideoDecodeAcceleratorFactory> vda_factory =
content::GpuVideoDecodeAcceleratorFactory::CreateWithNoGL();
vda_ = vda_factory->CreateVDA(this, vda_config);
if (!vda_) {
« no previous file with comments | « chrome/gpu/arc_gpu_video_decode_accelerator.h ('k') | chrome_elf/blacklist/test/blacklist_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698