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

Unified Diff: ui/aura/test/env_test_helper.h

Issue 1539583003: Convert Pass()→std::move() in ui/ (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 | « ui/aura/test/aura_test_utils.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/env_test_helper.h
diff --git a/ui/aura/test/env_test_helper.h b/ui/aura/test/env_test_helper.h
index 73560626b9dcbc9aecc1c5a58b11f16bac0f2947..fb64d4614d192ca5df664e8514070c78582061e6 100644
--- a/ui/aura/test/env_test_helper.h
+++ b/ui/aura/test/env_test_helper.h
@@ -5,6 +5,8 @@
#ifndef UI_AURA_TEST_ENV_TEST_HELPER_H_
#define UI_AURA_TEST_ENV_TEST_HELPER_H_
+#include <utility>
+
#include "ui/aura/env.h"
#include "ui/aura/input_state_lookup.h"
@@ -17,7 +19,7 @@ class EnvTestHelper {
~EnvTestHelper() {}
void SetInputStateLookup(scoped_ptr<InputStateLookup> input_state_lookup) {
- env_->input_state_lookup_ = input_state_lookup.Pass();
+ env_->input_state_lookup_ = std::move(input_state_lookup);
}
void ResetEventState() {
« no previous file with comments | « ui/aura/test/aura_test_utils.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698