summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_item.mm
diff options
context:
space:
mode:
authorsnej@chromium.org <snej@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 05:28:09 +0000
committersnej@chromium.org <snej@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 05:28:09 +0000
commit934f373771313423cd91274549e4b6a73b91ff8f (patch)
treead996bc9fb13a4d69c674605422bc0fa1b21878e /chrome/browser/cocoa/bookmark_item.mm
parent15442e98a024fac0d5bfc0f13a7f2f4a2e42dc5d (diff)
downloadchromium_src-934f373771313423cd91274549e4b6a73b91ff8f.zip
chromium_src-934f373771313423cd91274549e4b6a73b91ff8f.tar.gz
chromium_src-934f373771313423cd91274549e4b6a73b91ff8f.tar.bz2
Mac bookmark manager: Prevents the Recents group from losing its custom icon.
BUG=32740 TEST=Click Recents in bookmark manager, verify it still has a star icon. Review URL: http://codereview.chromium.org/554029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_item.mm')
-rw-r--r--chrome/browser/cocoa/bookmark_item.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_item.mm b/chrome/browser/cocoa/bookmark_item.mm
index f59022a..a31e00f 100644
--- a/chrome/browser/cocoa/bookmark_item.mm
+++ b/chrome/browser/cocoa/bookmark_item.mm
@@ -294,7 +294,8 @@ static GURL ConvertToGURL(NSString* urlStr) {
}
- (void)nodeChanged {
- icon_.reset(nil);
+ if (node_)
+ icon_.reset(nil);
}
@end