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

Unified Diff: chrome/browser/cocoa/bookmark_editor_base_controller.mm

Issue 2832045: Fix Bookmark Editor Tree (Closed)
Patch Set: Created 10 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/bookmark_editor_base_controller.mm
diff --git a/chrome/browser/cocoa/bookmark_editor_base_controller.mm b/chrome/browser/cocoa/bookmark_editor_base_controller.mm
index 51612cebbd8ef7b19ec03cf12a572809804514e4..27708077b79d2c2db73ab82ff2b8a4e8bd17968c 100644
--- a/chrome/browser/cocoa/bookmark_editor_base_controller.mm
+++ b/chrome/browser/cocoa/bookmark_editor_base_controller.mm
@@ -416,7 +416,9 @@ class BookmarkEditorBaseControllerBridge : public BookmarkModelObserver {
const BookmarkNode* rootNode = model->root_node();
NSMutableArray* baseArray = [self addChildFoldersFromNode:rootNode];
DCHECK(baseArray);
+ [self willChangeValueForKey:@"folderTreeArray"];
folderTreeArray_.reset([baseArray retain]);
+ [self didChangeValueForKey:@"folderTreeArray"];
}
- (void)modelChangedPreserveSelection:(BOOL)preserve {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698