| Index: sync/api/sync_data.cc
|
| diff --git a/sync/api/sync_data.cc b/sync/api/sync_data.cc
|
| index 0dd567d64520f4b9d588fad8ca109c6b28af0143..d6c91528d188671ecfce80a429eb2def582e394a 100644
|
| --- a/sync/api/sync_data.cc
|
| +++ b/sync/api/sync_data.cc
|
| @@ -155,10 +155,9 @@ std::string SyncData::ToString() const {
|
|
|
| std::string type = ModelTypeToString(GetDataType());
|
| std::string specifics;
|
| - scoped_ptr<base::DictionaryValue> value(
|
| - EntitySpecificsToValue(GetSpecifics()));
|
| - base::JSONWriter::WriteWithOptions(
|
| - value.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &specifics);
|
| + base::JSONWriter::WriteWithOptions(*EntitySpecificsToValue(GetSpecifics()),
|
| + base::JSONWriter::OPTIONS_PRETTY_PRINT,
|
| + &specifics);
|
|
|
| if (IsLocal()) {
|
| SyncDataLocal sync_data_local(*this);
|
|
|