diff options
-rw-r--r-- | chrome/browser/cocoa/gradient_button_cell.mm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/gradient_button_cell.mm b/chrome/browser/cocoa/gradient_button_cell.mm index 87c87ba..ac7b65b 100644 --- a/chrome/browser/cocoa/gradient_button_cell.mm +++ b/chrome/browser/cocoa/gradient_button_cell.mm @@ -8,6 +8,15 @@ @implementation GradientButtonCell +// For nib instantiations +- (id)initWithCoder:(NSCoder*)decoder { + if ((self = [super initWithCoder:decoder])) { + shouldTheme_ = YES; + } + return self; +} + +// For programmatic instantiations - (id)initTextCell:(NSString*)string { if ((self = [super initTextCell:string])) { shouldTheme_ = YES; |