Index: mojo/converters/transform/transform_type_converters.cc |
diff --git a/mojo/converters/transform/transform_type_converters.cc b/mojo/converters/transform/transform_type_converters.cc |
index 92a53706f39c6deaa856a91f2610f5040a94c679..e2a4cedab1551655c6631b5e9a20378c8018a196 100644 |
--- a/mojo/converters/transform/transform_type_converters.cc |
+++ b/mojo/converters/transform/transform_type_converters.cc |
@@ -4,6 +4,8 @@ |
#include "mojo/converters/transform/transform_type_converters.h" |
+#include <utility> |
+ |
namespace mojo { |
// static |
@@ -14,8 +16,8 @@ TransformPtr TypeConverter<TransformPtr, gfx::Transform>::Convert( |
mojo::Array<float> matrix; |
matrix.Swap(&storage); |
TransformPtr transform(Transform::New()); |
- transform->matrix = matrix.Pass(); |
- return transform.Pass(); |
+ transform->matrix = std::move(matrix); |
+ return transform; |
} |
// static |