Index: content/browser/mojo/renderer_capability_filter.cc |
diff --git a/content/browser/mojo/renderer_capability_filter.cc b/content/browser/mojo/renderer_capability_filter.cc |
index 871e692919365629008081c3795123a1667cf52f..01a8e626dd7258b4ca51ab6d39a10b136d148433 100644 |
--- a/content/browser/mojo/renderer_capability_filter.cc |
+++ b/content/browser/mojo/renderer_capability_filter.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <utility> |
+ |
#include "components/mus/public/interfaces/gpu.mojom.h" |
#include "content/browser/mojo/mojo_shell_client_host.h" |
@@ -13,7 +15,7 @@ mojo::CapabilityFilterPtr CreateCapabilityFilterForRenderer() { |
mojo::CapabilityFilterPtr filter(mojo::CapabilityFilter::New()); |
mojo::Array<mojo::String> window_manager_interfaces; |
window_manager_interfaces.push_back(mus::mojom::Gpu::Name_); |
- filter->filter.insert("mojo:mus", window_manager_interfaces.Pass()); |
+ filter->filter.insert("mojo:mus", std::move(window_manager_interfaces)); |
return filter; |
} |