| Index: ui/views/controls/button/text_button.h
|
| diff --git a/ui/views/controls/button/text_button.h b/ui/views/controls/button/text_button.h
|
| index 9b59da302c2c9df9a3c5c11559f278605faab339..99feea600be6cbe837583bb2b5144bc9f16ae8e7 100644
|
| --- a/ui/views/controls/button/text_button.h
|
| +++ b/ui/views/controls/button/text_button.h
|
| @@ -323,7 +323,7 @@ class VIEWS_EXPORT TextButton : public TextButtonBase {
|
| virtual void SetHoverIcon(const gfx::ImageSkia& icon);
|
| virtual void SetPushedIcon(const gfx::ImageSkia& icon);
|
|
|
| - bool HasIcon() const { return !icon_.empty(); }
|
| + bool HasIcon() const { return !icon_.isNull(); }
|
|
|
| // Meanings are reversed for right-to-left layouts.
|
| enum IconPlacement {
|
|
|