| Index: chrome/browser/history/starred_url_database.cc
|
| diff --git a/chrome/browser/history/starred_url_database.cc b/chrome/browser/history/starred_url_database.cc
|
| index 6bec5e026441803089b102fd67e2a8522ca72538..7b981668adbc4fb3489be1dfbcea905f0f509e2d 100644
|
| --- a/chrome/browser/history/starred_url_database.cc
|
| +++ b/chrome/browser/history/starred_url_database.cc
|
| @@ -650,7 +650,9 @@ bool StarredURLDatabase::MigrateBookmarksToFileImpl(const FilePath& path) {
|
| scoped_ptr<Value> encoded_bookmarks(
|
| encoder.Encode(&bookmark_bar_node, &other_node, &mobile_node));
|
| std::string content;
|
| - base::JSONWriter::Write(encoded_bookmarks.get(), true, &content);
|
| + base::JSONWriter::WriteWithOptions(encoded_bookmarks.get(),
|
| + base::JSONWriter::OPTIONS_PRETTY_PRINT,
|
| + &content);
|
|
|
| return (file_util::WriteFile(path, content.c_str(),
|
| static_cast<int>(content.length())) != -1);
|
|
|