14 lines
699 B
Diff
14 lines
699 B
Diff
diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
|
|
index e3fe43ec48c0cf387ae3cc49aac9e49ecfb8572b..769b3fb6bd543da40216b9f1530615f41f90dc66 100644
|
|
--- a/chrome/browser/ui/views/tabs/tab.h
|
|
+++ b/chrome/browser/ui/views/tabs/tab.h
|
|
@@ -310,7 +310,7 @@ class Tab : public gfx::AnimationDelegate,
|
|
|
|
// Whether we are showing the close button. It is cached so that we can
|
|
// detect when it changes and layout appropriately.
|
|
- bool showing_close_button_ = false;
|
|
+ ControllableCloseButtonState showing_close_button_{*controller_, *this};
|
|
|
|
// Whether the tab is currently animating from a pinned to an unpinned state.
|
|
bool is_animating_from_pinned_ = false;
|