diff options
author | danakj <danakj@chromium.org> | 2015-12-04 12:12:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-04 20:13:42 +0000 |
commit | 4b041ab3706e1c26bf105617750353ec111cf18b (patch) | |
tree | f4147c384802594c5701d3b8770cb0c243ea010a /ios/net | |
parent | 14d1b99388647b719bc02be6f282b989d6ee19d5 (diff) | |
download | chromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.zip chromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.tar.gz chromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.tar.bz2 |
Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro.
This macro existed only to add a Pass() method on scoped_refptr and
skia::RefPtr. We can just use std::move() now, so replace callsites
to Pass() with std::move() and kill the macro.
R=thakis@chromium.org
BUG=557422
Review URL: https://codereview.chromium.org/1477643002
Cr-Commit-Position: refs/heads/master@{#363281}
Diffstat (limited to 'ios/net')
-rw-r--r-- | ios/net/http_response_headers_util.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/net/http_response_headers_util.mm b/ios/net/http_response_headers_util.mm index 64d86b5..5d6f716 100644 --- a/ios/net/http_response_headers_util.mm +++ b/ios/net/http_response_headers_util.mm @@ -40,7 +40,7 @@ scoped_refptr<HttpResponseHeaders> CreateHeadersFromNSHTTPURLResponse( [NSString stringWithFormat:kHeaderLineFormat, header_name, value]; http_headers->AddHeader(base::SysNSStringToUTF8(header_line)); }]; - return http_headers.Pass(); + return http_headers; } } // namespae net |