| Index: chrome/browser/ui/views/tabs/media_indicator_button.cc
|
| diff --git a/chrome/browser/ui/views/tabs/media_indicator_button.cc b/chrome/browser/ui/views/tabs/media_indicator_button.cc
|
| index 45d2e0100f61722a2f13a37ea7a4da79328025a2..5cce70b741d4fbe5ac60c0feb1d3289602263672 100644
|
| --- a/chrome/browser/ui/views/tabs/media_indicator_button.cc
|
| +++ b/chrome/browser/ui/views/tabs/media_indicator_button.cc
|
| @@ -148,7 +148,7 @@ bool MediaIndicatorButton::OnMousePressed(const ui::MouseEvent& event) {
|
| // pressed or when any modifier keys are being held down. Instead, the Tab
|
| // should react (e.g., middle-click for close, right-click for context menu).
|
| if (event.flags() != ui::EF_LEFT_MOUSE_BUTTON) {
|
| - if (state_ != views::CustomButton::STATE_DISABLED)
|
| + if (state() != views::CustomButton::STATE_DISABLED)
|
| SetState(views::CustomButton::STATE_NORMAL); // Turn off hover.
|
| return false; // Event to be handled by Tab.
|
| }
|
| @@ -166,7 +166,7 @@ bool MediaIndicatorButton::OnMouseDragged(const ui::MouseEvent& event) {
|
|
|
| void MediaIndicatorButton::OnMouseEntered(const ui::MouseEvent& event) {
|
| // If any modifier keys are being held down, do not turn on hover.
|
| - if (state_ != views::CustomButton::STATE_DISABLED &&
|
| + if (state() != views::CustomButton::STATE_DISABLED &&
|
| event.flags() != ui::EF_NONE) {
|
| SetState(views::CustomButton::STATE_NORMAL);
|
| return;
|
| @@ -176,7 +176,7 @@ void MediaIndicatorButton::OnMouseEntered(const ui::MouseEvent& event) {
|
|
|
| void MediaIndicatorButton::OnMouseMoved(const ui::MouseEvent& event) {
|
| // If any modifier keys are being held down, turn off hover.
|
| - if (state_ != views::CustomButton::STATE_DISABLED &&
|
| + if (state() != views::CustomButton::STATE_DISABLED &&
|
| event.flags() != ui::EF_NONE) {
|
| SetState(views::CustomButton::STATE_NORMAL);
|
| return;
|
|
|