Commit c06db835 authored by Mathias Bynens's avatar Mathias Bynens Committed by Commit Bot

Remove std::move to prevent compiler warning

Bug: chromium:1004246
Change-Id: I101bf7e809e2d43d560ff5ada5b3676a19f9af79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1831811
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Reviewed-by: default avatarBenedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701218}
parent c1dc6192
...@@ -94,10 +94,10 @@ void InspectorEmulationAgent::Restore() { ...@@ -94,10 +94,10 @@ void InspectorEmulationAgent::Restore() {
std::make_unique<protocol::Array<protocol::Emulation::MediaFeature>>(); std::make_unique<protocol::Array<protocol::Emulation::MediaFeature>>();
for (auto const& name : emulated_media_features_.Keys()) { for (auto const& name : emulated_media_features_.Keys()) {
auto const& value = emulated_media_features_.Get(name); auto const& value = emulated_media_features_.Get(name);
features->push_back(std::move(protocol::Emulation::MediaFeature::create() features->push_back(protocol::Emulation::MediaFeature::create()
.setName(name) .setName(name)
.setValue(value) .setValue(value)
.build())); .build());
} }
setEmulatedMedia(emulated_media_.Get(), std::move(features)); setEmulatedMedia(emulated_media_.Get(), std::move(features));
auto rgba = ParseRGBA(default_background_color_override_rgba_.Get()); auto rgba = ParseRGBA(default_background_color_override_rgba_.Get());
......
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