diff options
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_html_writer.cc')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_html_writer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/bookmarks/bookmark_html_writer.cc index 5a6d670..2e9376e 100644 --- a/chrome/browser/bookmarks/bookmark_html_writer.cc +++ b/chrome/browser/bookmarks/bookmark_html_writer.cc @@ -189,8 +189,7 @@ class Writer : public base::RefCountedThreadSafe<Writer> { // Writes raw text out returning true on success. This does not escape // the text in anyway. bool Write(const std::string& text) { - size_t wrote = file_stream_.Write(text.c_str(), text.length(), - net::CompletionCallback()); + size_t wrote = file_stream_.WriteSync(text.c_str(), text.length()); bool result = (wrote == text.length()); DCHECK(result); return result; |