summaryrefslogtreecommitdiffstats
path: root/sync/syncable/nigori_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/syncable/nigori_util.cc')
-rw-r--r--sync/syncable/nigori_util.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sync/syncable/nigori_util.cc b/sync/syncable/nigori_util.cc
index 1eb9227..1ad5095 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: "