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

Unified Diff: components/bookmarks/browser/bookmark_node.cc

Issue 2883523002: Reduce the memory usage of bookmarks storage (Closed)
Patch Set: MakeUnique Created 3 years, 7 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 | « components/bookmarks/browser/bookmark_node.h ('k') | components/bookmarks/browser/titled_url_index.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/bookmark_node.cc
diff --git a/components/bookmarks/browser/bookmark_node.cc b/components/bookmarks/browser/bookmark_node.cc
index 8bc1c292318d75af9f35347e93249921be151068..1977fcb5efd34fe154625a94380ff8aa53fb20b6 100644
--- a/components/bookmarks/browser/bookmark_node.cc
+++ b/components/bookmarks/browser/bookmark_node.cc
@@ -123,7 +123,7 @@ void BookmarkNode::Initialize(int64_t id) {
}
void BookmarkNode::InvalidateFavicon() {
- icon_url_ = GURL();
+ icon_url_.reset();
favicon_ = gfx::Image();
favicon_type_ = favicon_base::INVALID_ICON;
favicon_state_ = INVALID_FAVICON;
« no previous file with comments | « components/bookmarks/browser/bookmark_node.h ('k') | components/bookmarks/browser/titled_url_index.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698