Index: chrome/browser/bookmarks/bookmark_html_writer.cc |
diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/bookmarks/bookmark_html_writer.cc |
index 2e9376e1cecd7e203b3a80ee91b3400623f28add..7dfe7efbb07088ae0bafef703884c3c3bb75fabc 100644 |
--- a/chrome/browser/bookmarks/bookmark_html_writer.cc |
+++ b/chrome/browser/bookmarks/bookmark_html_writer.cc |
@@ -151,6 +151,8 @@ class Writer : public base::RefCountedThreadSafe<Writer> { |
} |
private: |
+ friend class base::RefCountedThreadSafe<Writer>; |
+ |
// Types of text being written out. The type dictates how the text is |
// escaped. |
enum TextType { |
@@ -162,6 +164,8 @@ class Writer : public base::RefCountedThreadSafe<Writer> { |
CONTENT |
}; |
+ ~Writer() {} |
+ |
// Opens the file, returning true on success. |
bool OpenFile() { |
int flags = base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_WRITE; |