Index: content/browser/presentation/presentation_type_converters.h |
diff --git a/content/browser/presentation/presentation_type_converters.h b/content/browser/presentation/presentation_type_converters.h |
index 807368a31f32368fd01f14261597f716aaf1bd88..c707f4fa5e84132036098050fbef9e616aa94515 100644 |
--- a/content/browser/presentation/presentation_type_converters.h |
+++ b/content/browser/presentation/presentation_type_converters.h |
@@ -30,7 +30,7 @@ struct TypeConverter<presentation::PresentationSessionInfoPtr, |
presentation::PresentationSessionInfo::New()); |
output->url = input.presentation_url; |
output->id = input.presentation_id; |
- return output.Pass(); |
+ return output; |
} |
}; |
@@ -52,7 +52,7 @@ struct TypeConverter<presentation::PresentationErrorPtr, |
presentation::PresentationError::New()); |
output->error_type = PresentationErrorTypeToMojo(input.error_type); |
output->message = input.message; |
- return output.Pass(); |
+ return output; |
} |
}; |