Index: content/child/mojo/type_converters.h |
diff --git a/content/child/mojo/type_converters.h b/content/child/mojo/type_converters.h |
index 44e1687a88e969694ed5630a9ac43fffaa888621..180cadb6f5476750a44f2564908cadc0a2598df0 100644 |
--- a/content/child/mojo/type_converters.h |
+++ b/content/child/mojo/type_converters.h |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include <stddef.h> |
+#include <utility> |
#include "mojo/public/cpp/bindings/array.h" |
#include "third_party/WebKit/public/platform/WebVector.h" |
@@ -15,7 +16,7 @@ struct TypeConverter<Array<T>, blink::WebVector<U>> { |
Array<T> array(vector.size()); |
for (size_t i = 0; i < vector.size(); ++i) |
array[i] = TypeConverter<T, U>::Convert(vector[i]); |
- return array.Pass(); |
+ return std::move(array); |
} |
}; |