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

Unified Diff: chromeos/dbus/shill_client_unittest_base.cc

Issue 2023633002: Change PopDataAsValue to return a std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 | « no previous file | dbus/values_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_client_unittest_base.cc
diff --git a/chromeos/dbus/shill_client_unittest_base.cc b/chromeos/dbus/shill_client_unittest_base.cc
index 44c7961f9ddf953e8fa55714aa88a0477b7c4974..35b9d7041d5edd350c2a824ceabca34923a5925d 100644
--- a/chromeos/dbus/shill_client_unittest_base.cc
+++ b/chromeos/dbus/shill_client_unittest_base.cc
@@ -325,7 +325,7 @@ void ShillClientUnittestBase::ExpectDictionaryValueArgument(
case dbus::Message::BOOL:
case dbus::Message::INT32:
case dbus::Message::STRING:
- value.reset(dbus::PopDataAsValue(&variant_reader));
+ value = dbus::PopDataAsValue(&variant_reader);
break;
default:
NOTREACHED();
« no previous file with comments | « no previous file | dbus/values_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698