Commit 06439bfe authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

AppCache: Remove unnecessary std::move()s in AppCacheDispatcherHost.

Change-Id: Id9766b693c33aabadf9265722cf32605378c06a1
Reviewed-on: https://chromium-review.googlesource.com/1191023
Commit-Queue: Victor Costan <pwnall@chromium.org>
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Reviewed-by: default avatarJoshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586328}
parent 8655d49f
...@@ -89,7 +89,7 @@ void AppCacheDispatcherHost::SelectCache(int32_t host_id, ...@@ -89,7 +89,7 @@ void AppCacheDispatcherHost::SelectCache(int32_t host_id,
mojo::ReportBadMessage("ACDH_SELECT_CACHE"); mojo::ReportBadMessage("ACDH_SELECT_CACHE");
} }
} else { } else {
frontend_proxy_.OnCacheSelected(host_id, std::move(AppCacheInfo())); frontend_proxy_.OnCacheSelected(host_id, AppCacheInfo());
} }
} }
...@@ -99,7 +99,7 @@ void AppCacheDispatcherHost::SelectCacheForSharedWorker(int32_t host_id, ...@@ -99,7 +99,7 @@ void AppCacheDispatcherHost::SelectCacheForSharedWorker(int32_t host_id,
if (!backend_impl_.SelectCacheForSharedWorker(host_id, appcache_id)) if (!backend_impl_.SelectCacheForSharedWorker(host_id, appcache_id))
mojo::ReportBadMessage("ACDH_SELECT_CACHE_FOR_SHARED_WORKER"); mojo::ReportBadMessage("ACDH_SELECT_CACHE_FOR_SHARED_WORKER");
} else { } else {
frontend_proxy_.OnCacheSelected(host_id, std::move(AppCacheInfo())); frontend_proxy_.OnCacheSelected(host_id, AppCacheInfo());
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment