summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_item.mm
diff options
context:
space:
mode:
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