diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 06:09:57 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 06:09:57 +0000 |
commit | 6a781684b760689def3447b084493ca7e1877a82 (patch) | |
tree | 489dd4bd04551c72c5ccfaff74310262665fb7dc /chrome/browser/cocoa/bookmark_button_cell.mm | |
parent | c8fe571e9a5a2d63884ab0da86df190ce5b2ef6a (diff) | |
download | chromium_src-6a781684b760689def3447b084493ca7e1877a82.zip chromium_src-6a781684b760689def3447b084493ca7e1877a82.tar.gz chromium_src-6a781684b760689def3447b084493ca7e1877a82.tar.bz2 |
Revert r31647 again, I have enough perf data
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_button_cell.mm')
-rw-r--r-- | chrome/browser/cocoa/bookmark_button_cell.mm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/cocoa/bookmark_button_cell.mm b/chrome/browser/cocoa/bookmark_button_cell.mm index 5ff1141..1e2190b 100644 --- a/chrome/browser/cocoa/bookmark_button_cell.mm +++ b/chrome/browser/cocoa/bookmark_button_cell.mm @@ -34,10 +34,6 @@ return size; } -- (void)setImage:(NSImage*)image { - [self setBookmarkCellText:[self title] image:image]; -} - - (void)setBookmarkCellText:(NSString*)title image:(NSImage*)image { title = [title stringByReplacingOccurrencesOfString:@"\n" @@ -45,7 +41,7 @@ title = [title stringByReplacingOccurrencesOfString:@"\r" withString:@" "]; if (image) { - [super setImage:image]; + [self setImage:image]; if ([title length] < 1) { [self setImagePosition:NSImageOnly]; } else { |