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

Unified Diff: components/arc/arc_bridge_service_unittest.cc

Issue 2394883004: Fix compile error on simple chrome. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_bridge_service_unittest.cc
diff --git a/components/arc/arc_bridge_service_unittest.cc b/components/arc/arc_bridge_service_unittest.cc
index 60a143de844310c799f2b301fb12cbe7280a0479..8eb7e477c8fcd554095d82011f2318f92314950f 100644
--- a/components/arc/arc_bridge_service_unittest.cc
+++ b/components/arc/arc_bridge_service_unittest.cc
@@ -58,14 +58,14 @@ class ArcBridgeTest : public testing::Test,
static std::unique_ptr<ArcBridgeBootstrap> CreateSuspendedBootstrap() {
auto bootstrap = base::MakeUnique<FakeArcBridgeBootstrap>();
bootstrap->SuspendBoot();
- return bootstrap;
+ return std::move(bootstrap);
}
static std::unique_ptr<ArcBridgeBootstrap> CreateBootFailureBootstrap(
ArcBridgeService::StopReason reason) {
auto bootstrap = base::MakeUnique<FakeArcBridgeBootstrap>();
bootstrap->EnableBootFailureEmulation(reason);
- return bootstrap;
+ return std::move(bootstrap);
}
private:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698