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) { |