summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_tree_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/bookmark_tree_controller.mm')
-rw-r--r--chrome/browser/cocoa/bookmark_tree_controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_tree_controller.mm b/chrome/browser/cocoa/bookmark_tree_controller.mm
index 0b09ce3..445779c 100644
--- a/chrome/browser/cocoa/bookmark_tree_controller.mm
+++ b/chrome/browser/cocoa/bookmark_tree_controller.mm
@@ -475,7 +475,7 @@ static void addItem(NSMenu* menu, int command, SEL action) {
- (NSRect)frameOfOutlineCellAtRow:(NSInteger)row {
// If the controller is in flat view, don't reserve space for the triangles.
- BookmarkTreeController* controller = [self delegate];
+ BookmarkTreeController* controller = [self bookmarkController];
if ([controller flat])
return NSZeroRect;
return [super frameOfOutlineCellAtRow:row];