Index: sync/syncable/nigori_util.cc |
diff --git a/sync/syncable/nigori_util.cc b/sync/syncable/nigori_util.cc |
index 1eb92277d33304e069a92dbbcce3c9a9ee1ad0a2..1ad509530a0c70dd664c63cc27da3cad0c683ba3 100644 |
--- a/sync/syncable/nigori_util.cc |
+++ b/sync/syncable/nigori_util.cc |
@@ -175,9 +175,8 @@ bool UpdateEntryWithEncryption( |
if (VLOG_IS_ON(2)) { |
scoped_ptr<base::DictionaryValue> value(entry->ToValue(NULL)); |
std::string info; |
- base::JSONWriter::WriteWithOptions(value.get(), |
- base::JSONWriter::OPTIONS_PRETTY_PRINT, |
- &info); |
+ base::JSONWriter::WriteWithOptions( |
+ *value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &info); |
DVLOG(2) << "Encrypting specifics of type " |
<< ModelTypeToString(type) |
<< " with content: " |