Index: services/url_response_disk_cache/url_response_disk_cache_impl.cc |
diff --git a/services/url_response_disk_cache/url_response_disk_cache_impl.cc b/services/url_response_disk_cache/url_response_disk_cache_impl.cc |
index 7b104b7dc5502c9463976b004c436ba9eee6192a..8ec138b5703bb3897576a7c56e6e3f1defa7b84a 100644 |
--- a/services/url_response_disk_cache/url_response_disk_cache_impl.cc |
+++ b/services/url_response_disk_cache/url_response_disk_cache_impl.cc |
@@ -85,7 +85,7 @@ Array<uint8_t> PathToArray(const base::FilePath& path) { |
const std::string& string = path.value(); |
auto result = Array<uint8_t>::New(string.size()); |
memcpy(&result.front(), string.data(), string.size()); |
- return result.Pass(); |
+ return result; |
} |
// This method remove the query string of an url if one is present. It does |
@@ -207,7 +207,7 @@ mojo::URLResponsePtr GetMinimalResponse(const std::string& url) { |
mojo::URLResponsePtr response = mojo::URLResponse::New(); |
response->url = url; |
response->status_code = 200; |
- return response.Pass(); |
+ return response; |
} |
void RunMojoCallbackWithResponse( |