Chromium Code Reviews| Index: components/favicon_base/favicon_types.cc |
| diff --git a/components/favicon_base/favicon_types.cc b/components/favicon_base/favicon_types.cc |
| index b03f0ecd4ae4330ef4bc176c0e7d31945c272ea9..b32131120987da7a90e00153cba7237643ad1a52 100644 |
| --- a/components/favicon_base/favicon_types.cc |
| +++ b/components/favicon_base/favicon_types.cc |
| @@ -38,6 +38,14 @@ LargeIconResult::LargeIconResult(FallbackIconStyle* fallback_icon_style_in) |
| LargeIconResult::~LargeIconResult() {} |
| +bool LargeIconResult::is_empty() const { |
|
pkotwicz
2017/05/12 07:40:38
I think that the implementation should be in the c
jkrcal
2017/05/12 11:49:02
The reason I put it here because something similar
|
| + if (bitmap.is_valid()) |
| + return false; |
| + if (fallback_icon_style && !fallback_icon_style->is_default_background_color) |
| + return false; |
| + return true; |
| +} |
| + |
| // -------------------------------------------------------- |
| // LargeIconImageResult |