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

Unified Diff: media/blink/video_frame_compositor.h

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/blink/texttrack_impl.cc ('k') | media/blink/webcontentdecryptionmodule_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/video_frame_compositor.h
diff --git a/media/blink/video_frame_compositor.h b/media/blink/video_frame_compositor.h
index f7c495d046d565b11c49476dac6e7a4a7c9a1e27..893fa7c43688f5a3218b9a88a2e402b061e498b7 100644
--- a/media/blink/video_frame_compositor.h
+++ b/media/blink/video_frame_compositor.h
@@ -5,6 +5,8 @@
#ifndef MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_
#define MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_
+#include <utility>
+
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -110,7 +112,7 @@ class MEDIA_BLINK_EXPORT VideoFrameCompositor
base::TimeDelta GetCurrentFrameTimestamp() const;
void set_tick_clock_for_testing(scoped_ptr<base::TickClock> tick_clock) {
- tick_clock_ = tick_clock.Pass();
+ tick_clock_ = std::move(tick_clock);
}
void clear_current_frame_for_testing() { current_frame_ = nullptr; }
« no previous file with comments | « media/blink/texttrack_impl.cc ('k') | media/blink/webcontentdecryptionmodule_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698