| Index: mojo/public/cpp/bindings/map.h
|
| diff --git a/mojo/public/cpp/bindings/map.h b/mojo/public/cpp/bindings/map.h
|
| index 22164c7240602290ef73f2b414c4f2f2680f7181..6702cabe485b1aab18378e125c3f958fc165c79c 100644
|
| --- a/mojo/public/cpp/bindings/map.h
|
| +++ b/mojo/public/cpp/bindings/map.h
|
| @@ -136,7 +136,7 @@ class Map {
|
| Map result;
|
| result.is_null_ = is_null_;
|
| Traits::Clone(map_, &result.map_);
|
| - return result.Pass();
|
| + return result;
|
| }
|
|
|
| // Indicates whether the contents of this map are equal to those of another
|
| @@ -274,7 +274,7 @@ struct TypeConverter<Map<MojoKey, MojoValue>, std::map<STLKey, STLValue>> {
|
| result.insert(TypeConverter<MojoKey, STLKey>::Convert(pair.first),
|
| TypeConverter<MojoValue, STLValue>::Convert(pair.second));
|
| }
|
| - return result.Pass();
|
| + return result;
|
| }
|
| };
|
|
|
|
|