diff options
author | skyostil <skyostil@chromium.org> | 2016-02-26 08:18:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-26 16:19:44 +0000 |
commit | 15ecd66e89a3a6be11e416788f3214d97ea0662a (patch) | |
tree | 35eb846feafb3646943f0b4bf8b3c90622def0b0 | |
parent | e70c589a8e4f5092da2cc81583c349f5e938d274 (diff) | |
download | chromium_src-15ecd66e89a3a6be11e416788f3214d97ea0662a.zip chromium_src-15ecd66e89a3a6be11e416788f3214d97ea0662a.tar.gz chromium_src-15ecd66e89a3a6be11e416788f3214d97ea0662a.tar.bz2 |
Add some missing std::move()s following a previous refactoring
This patch adds some std::move() calls as a follow-up to
https://codereview.chromium.org/1730533002/. No functional changes.
BUG=546953
TBR=rsleevi@chromium.org
Review URL: https://codereview.chromium.org/1736273002
Cr-Commit-Position: refs/heads/master@{#377898}
3 files changed, 6 insertions, 6 deletions
diff --git a/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc b/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc index 22c0f16..44925be 100644 --- a/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc +++ b/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc @@ -24,8 +24,8 @@ LayoutTestURLRequestContextGetter::LayoutTestURLRequestContextGetter( net::NetLog* net_log) : ShellURLRequestContextGetter(ignore_certificate_errors, base_path, - io_task_runner, - file_task_runner, + std::move(io_task_runner), + std::move(file_task_runner), protocol_handlers, std::move(request_interceptors), net_log) { diff --git a/content/shell/browser/shell_url_request_context_getter.cc b/content/shell/browser/shell_url_request_context_getter.cc index 02fd3f1..6fd751e 100644 --- a/content/shell/browser/shell_url_request_context_getter.cc +++ b/content/shell/browser/shell_url_request_context_getter.cc @@ -74,8 +74,8 @@ ShellURLRequestContextGetter::ShellURLRequestContextGetter( net::NetLog* net_log) : ignore_certificate_errors_(ignore_certificate_errors), base_path_(base_path), - io_task_runner_(io_task_runner), - file_task_runner_(file_task_runner), + io_task_runner_(std::move(io_task_runner)), + file_task_runner_(std::move(file_task_runner)), net_log_(net_log), request_interceptors_(std::move(request_interceptors)) { // Must first be created on the UI thread. diff --git a/extensions/shell/browser/shell_url_request_context_getter.cc b/extensions/shell/browser/shell_url_request_context_getter.cc index abd5aed..54f2237 100644 --- a/extensions/shell/browser/shell_url_request_context_getter.cc +++ b/extensions/shell/browser/shell_url_request_context_getter.cc @@ -25,8 +25,8 @@ ShellURLRequestContextGetter::ShellURLRequestContextGetter( InfoMap* extension_info_map) : content::ShellURLRequestContextGetter(ignore_certificate_errors, base_path, - io_task_runner, - file_task_runner, + std::move(io_task_runner), + std::move(file_task_runner), protocol_handlers, std::move(request_interceptors), net_log), |