Index: components/history/core/browser/delete_directive_handler.cc |
diff --git a/components/history/core/browser/delete_directive_handler.cc b/components/history/core/browser/delete_directive_handler.cc |
index 0aba13ff5a9bdbb6325acf238f6442804eb60bbd..71d7f03a60e30da322e32792ffee1238bccac997 100644 |
--- a/components/history/core/browser/delete_directive_handler.cc |
+++ b/components/history/core/browser/delete_directive_handler.cc |
@@ -32,7 +32,7 @@ std::string DeleteDirectiveToString( |
scoped_ptr<base::DictionaryValue> value( |
syncer::HistoryDeleteDirectiveSpecificsToValue(delete_directive)); |
std::string str; |
- base::JSONWriter::Write(value.get(), &str); |
+ base::JSONWriter::Write(*value, &str); |
return str; |
} |