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

Unified Diff: chrome/browser/sync/glue/bookmark_model_associator.cc

Issue 8828006: Makes all permanent nodes share the same node class so that visibility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SetPermanentNodeVisibile Created 9 years 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
Index: chrome/browser/sync/glue/bookmark_model_associator.cc
diff --git a/chrome/browser/sync/glue/bookmark_model_associator.cc b/chrome/browser/sync/glue/bookmark_model_associator.cc
index 8d3066a06e43eb8944e4813333b7e7eeb6c1bb29..173786ee10dd579554244a5b98aa2c0ff254ec0b 100644
--- a/chrome/browser/sync/glue/bookmark_model_associator.cc
+++ b/chrome/browser/sync/glue/bookmark_model_associator.cc
@@ -190,7 +190,8 @@ void BookmarkModelAssociator::UpdateMobileNodeVisibility() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(bookmark_model_->IsLoaded());
- bookmark_model_->SetMobileFolderVisible(
+ bookmark_model_->SetPermanentNodeVisibile(
+ BookmarkNode::MOBILE,
id_map_.find(bookmark_model_->mobile_node()->id()) != id_map_.end());
}

Powered by Google App Engine
This is Rietveld 408576698