Index: mojo/common/common_type_converters.cc |
diff --git a/mojo/common/common_type_converters.cc b/mojo/common/common_type_converters.cc |
index 16c477d192f1f476cded29558e3ab5eef0f5235b..7c87169324bd87f471e8665b2dc9414b3eedbdc0 100644 |
--- a/mojo/common/common_type_converters.cc |
+++ b/mojo/common/common_type_converters.cc |
@@ -51,7 +51,7 @@ Array<uint8_t> TypeConverter<Array<uint8_t>, std::string>::Convert( |
Array<uint8_t> result(input.size()); |
if (input.size() > 0) |
memcpy(&result.front(), input.c_str(), input.size()); |
- return result.Pass(); |
+ return result; |
} |
} // namespace mojo |