Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10631)

Unified Diff: components/bookmarks/browser/bookmark_model.h

Issue 370323002: Replace refcounting with weak pointers for BookmarkStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/bookmarks/browser/bookmark_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/bookmark_model.h
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h
index df68b9a3398fddb99df7a46063730dff66b38f45..0a2d9643c89ccf84d3604de102340a0e8b2b61e2 100644
--- a/components/bookmarks/browser/bookmark_model.h
+++ b/components/bookmarks/browser/bookmark_model.h
@@ -411,7 +411,7 @@ class BookmarkModel : public KeyedService {
base::CancelableTaskTracker cancelable_task_tracker_;
// Reads/writes bookmarks to disk.
- scoped_refptr<bookmarks::BookmarkStorage> store_;
+ scoped_ptr<bookmarks::BookmarkStorage> store_;
scoped_ptr<bookmarks::BookmarkIndex> index_;
« no previous file with comments | « no previous file | components/bookmarks/browser/bookmark_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698