| Index: chrome/browser/ui/views/tab_icon_view.cc
|
| diff --git a/chrome/browser/ui/views/tab_icon_view.cc b/chrome/browser/ui/views/tab_icon_view.cc
|
| index 400c7e4e0be61eee0bd3faf7d74a429967915eb2..7ffe8b2aeed7bdf05a87effe5048070d438cfb19 100644
|
| --- a/chrome/browser/ui/views/tab_icon_view.cc
|
| +++ b/chrome/browser/ui/views/tab_icon_view.cc
|
| @@ -25,8 +25,12 @@
|
| #include "ui/gfx/icon_util.h"
|
| #endif
|
|
|
| -static bool g_initialized = false;
|
| -static gfx::ImageSkia* g_default_favicon = NULL;
|
| +namespace {
|
| +
|
| +bool g_initialized = false;
|
| +gfx::ImageSkia* g_default_favicon = nullptr;
|
| +
|
| +} // namespace
|
|
|
| // static
|
| void TabIconView::InitializeIfNeeded() {
|
| @@ -155,6 +159,10 @@ void TabIconView::OnPaint(gfx::Canvas* canvas) {
|
| PaintFavicon(canvas, *g_default_favicon);
|
| }
|
|
|
| +const char* TabIconView::GetClassName() const {
|
| + return "TabIconView";
|
| +}
|
| +
|
| gfx::Size TabIconView::GetPreferredSize() const {
|
| return gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize);
|
| }
|
|
|