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

Unified Diff: remoting/host/fake_desktop_environment.cc

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: and more! Created 4 years, 2 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: remoting/host/fake_desktop_environment.cc
diff --git a/remoting/host/fake_desktop_environment.cc b/remoting/host/fake_desktop_environment.cc
index afc1056a7412424662f828db3f9bf9d8125ca39d..d566b7a5d241220c2d7f824c4b3b8cfa157a7f43 100644
--- a/remoting/host/fake_desktop_environment.cc
+++ b/remoting/host/fake_desktop_environment.cc
@@ -56,8 +56,9 @@ void FakeScreenControls::SetScreenResolution(
FakeDesktopEnvironment::FakeDesktopEnvironment(
scoped_refptr<base::SingleThreadTaskRunner> capture_thread)
- : capture_thread_(capture_thread) {}
-FakeDesktopEnvironment::~FakeDesktopEnvironment() {}
+ : capture_thread_(std::move(capture_thread)) {}
+
+FakeDesktopEnvironment::~FakeDesktopEnvironment() = default;
// DesktopEnvironment implementation.
std::unique_ptr<AudioCapturer> FakeDesktopEnvironment::CreateAudioCapturer() {
@@ -104,8 +105,9 @@ uint32_t FakeDesktopEnvironment::GetDesktopSessionId() const {
FakeDesktopEnvironmentFactory::FakeDesktopEnvironmentFactory(
scoped_refptr<base::SingleThreadTaskRunner> capture_thread)
- : capture_thread_(capture_thread) {}
-FakeDesktopEnvironmentFactory::~FakeDesktopEnvironmentFactory() {}
+ : capture_thread_(std::move(capture_thread)) {}
+
+FakeDesktopEnvironmentFactory::~FakeDesktopEnvironmentFactory() = default;
// DesktopEnvironmentFactory implementation.
std::unique_ptr<DesktopEnvironment> FakeDesktopEnvironmentFactory::Create(

Powered by Google App Engine
This is Rietveld 408576698