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

Unified Diff: media/blink/active_loader.cc

Issue 1544313002: Convert Pass()→std::move() in //media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « media/base/video_frame_metadata.cc ('k') | media/blink/buffered_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/active_loader.cc
diff --git a/media/blink/active_loader.cc b/media/blink/active_loader.cc
index 2f1e084ebcaa9f8a0c15007a7466edd1cc49f217..0f38b0a0e1d6f3794b745a0c4d482c320347ebb7 100644
--- a/media/blink/active_loader.cc
+++ b/media/blink/active_loader.cc
@@ -4,15 +4,15 @@
#include "media/blink/active_loader.h"
+#include <utility>
+
#include "media/blink/buffered_resource_loader.h"
#include "third_party/WebKit/public/platform/WebURLLoader.h"
namespace media {
ActiveLoader::ActiveLoader(scoped_ptr<blink::WebURLLoader> loader)
- : loader_(loader.Pass()),
- deferred_(false) {
-}
+ : loader_(std::move(loader)), deferred_(false) {}
ActiveLoader::~ActiveLoader() {
loader_->cancel();
« no previous file with comments | « media/base/video_frame_metadata.cc ('k') | media/blink/buffered_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698