Commit df431f03 authored by rdevlin.cronin's avatar rdevlin.cronin Committed by Commit bot

Fix regression where mouse hover effect is absent on the browser action chevron

It looks like a SetBorder(NULL) crept into
https://codereview.chromium.org/324393002, and the result is that the chevron
hover effect (i.e., draw a border) is overridden. Remove the call to
SetBorder().

BUG=407518

Review URL: https://codereview.chromium.org/492373004

Cr-Commit-Position: refs/heads/master@{#292158}
parent eaadd523
...@@ -174,7 +174,6 @@ BrowserActionsContainer::BrowserActionsContainer( ...@@ -174,7 +174,6 @@ BrowserActionsContainer::BrowserActionsContainer(
// the Chrome menu. // the Chrome menu.
if (!overflow_experiment) { if (!overflow_experiment) {
chevron_ = new ChevronMenuButton(NULL, base::string16(), this, false); chevron_ = new ChevronMenuButton(NULL, base::string16(), this, false);
chevron_->SetBorder(views::Border::NullBorder());
chevron_->EnableCanvasFlippingForRTLUI(true); chevron_->EnableCanvasFlippingForRTLUI(true);
chevron_->SetAccessibleName( chevron_->SetAccessibleName(
l10n_util::GetStringUTF16(IDS_ACCNAME_EXTENSIONS_CHEVRON)); l10n_util::GetStringUTF16(IDS_ACCNAME_EXTENSIONS_CHEVRON));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment