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

Unified Diff: content/test/layouttest_support.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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 | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | content/test/test_content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 7e2dfaba022297675a2eb3333bf9b7fbb0eacfe3..0f4fe3b6ca6be0256a4e7d37cbe7ac83af1fb728 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -5,6 +5,7 @@
#include "content/public/test/layouttest_support.h"
#include <stddef.h>
+#include <utility>
#include "base/callback.h"
#include "base/lazy_instance.h"
@@ -147,9 +148,8 @@ void FetchManifest(blink::WebView* view, const GURL& url,
void SetMockGamepadProvider(scoped_ptr<RendererGamepadProvider> provider) {
RenderThreadImpl::current()
->blink_platform_impl()
- ->SetPlatformEventObserverForTesting(
- blink::WebPlatformEventTypeGamepad,
- provider.Pass());
+ ->SetPlatformEventObserverForTesting(blink::WebPlatformEventTypeGamepad,
+ std::move(provider));
}
void SetMockDeviceLightData(const double data) {
« no previous file with comments | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | content/test/test_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698