| 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..ec9b40b11acf083597307e7b9c70bb285eb11b8c 100644
|
| --- a/chrome/browser/sync/glue/bookmark_model_associator.cc
|
| +++ b/chrome/browser/sync/glue/bookmark_model_associator.cc
|
| @@ -186,11 +186,12 @@ BookmarkModelAssociator::~BookmarkModelAssociator() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| }
|
|
|
| -void BookmarkModelAssociator::UpdateMobileNodeVisibility() {
|
| +void BookmarkModelAssociator::UpdatePermanentNodeVisibility() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| DCHECK(bookmark_model_->IsLoaded());
|
|
|
| - bookmark_model_->SetMobileFolderVisible(
|
| + bookmark_model_->SetPermanentNodeVisible(
|
| + BookmarkNode::MOBILE,
|
| id_map_.find(bookmark_model_->mobile_node()->id()) != id_map_.end());
|
| }
|
|
|
| @@ -236,7 +237,7 @@ void BookmarkModelAssociator::Associate(const BookmarkNode* node,
|
| id_map_inverse_[sync_id] = node;
|
| dirty_associations_sync_ids_.insert(sync_id);
|
| PostPersistAssociationsTask();
|
| - UpdateMobileNodeVisibility();
|
| + UpdatePermanentNodeVisibility();
|
| }
|
|
|
| void BookmarkModelAssociator::Disassociate(int64 sync_id) {
|
|
|