Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 2285933003: Remove more usage of the base::ListValue::Append(Value*) overload. (Closed)
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/print_settings_conversion.cc ('k') | remoting/host/gcd_rest_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index db86865408d44bc7e5560fdd4a2f4df8e4f8c544..14d0803bf2ee1b24667e9d446ea4a98dfd09e8df 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -356,7 +356,7 @@ void ChromotingInstance::OnVideoFrameDirtyRegion(
rect_value->AppendInteger(rect.top());
rect_value->AppendInteger(rect.width());
rect_value->AppendInteger(rect.height());
- rects_value->Append(rect_value.release());
+ rects_value->Append(std::move(rect_value));
}
std::unique_ptr<base::DictionaryValue> data(new base::DictionaryValue());
« no previous file with comments | « printing/print_settings_conversion.cc ('k') | remoting/host/gcd_rest_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698