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

Unified Diff: dbus/values_util.cc

Issue 9732029: Fix dbus::PopDataAsValue's behavior when a dictionary's keys including dots (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: _ Created 8 years, 9 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_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/values_util.cc
diff --git a/dbus/values_util.cc b/dbus/values_util.cc
index c42237415c01fb607eee42ebcf19b42d2de2ea79..b78638dcbce8d0898ede4c3c7e94aefe417d7e0c 100644
--- a/dbus/values_util.cc
+++ b/dbus/values_util.cc
@@ -57,7 +57,7 @@ bool PopDictionaryEntries(MessageReader* reader,
Value* value = PopDataAsValue(&entry_reader);
if (!value)
return false;
- dictionary_value->Set(key_string, value);
+ dictionary_value->SetWithoutPathExpansion(key_string, value);
satorux1 2012/03/20 16:55:09 Wow, that's subtle...
}
return true;
}
« no previous file with comments | « no previous file | dbus/values_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698