Rename function FilterAccecelator
to FilterAccelerator
in submenu_button.cc
.
This commit is contained in:
parent
f3c7965cea
commit
fee56df400
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ namespace atom {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// Filter out the "&" in menu label.
|
// Filter out the "&" in menu label.
|
||||||
base::string16 FilterAccecelator(const base::string16& label) {
|
base::string16 FilterAccelerator(const base::string16& label) {
|
||||||
base::string16 out;
|
base::string16 out;
|
||||||
base::RemoveChars(label, base::ASCIIToUTF16("&").c_str(), &out);
|
base::RemoveChars(label, base::ASCIIToUTF16("&").c_str(), &out);
|
||||||
return out;
|
return out;
|
||||||
|
@ -26,7 +26,7 @@ base::string16 FilterAccecelator(const base::string16& label) {
|
||||||
SubmenuButton::SubmenuButton(views::ButtonListener* listener,
|
SubmenuButton::SubmenuButton(views::ButtonListener* listener,
|
||||||
const base::string16& title,
|
const base::string16& title,
|
||||||
views::MenuButtonListener* menu_button_listener)
|
views::MenuButtonListener* menu_button_listener)
|
||||||
: views::MenuButton(listener, FilterAccecelator(title),
|
: views::MenuButton(listener, FilterAccelerator(title),
|
||||||
menu_button_listener, false),
|
menu_button_listener, false),
|
||||||
accelerator_(0),
|
accelerator_(0),
|
||||||
show_underline_(false),
|
show_underline_(false),
|
||||||
|
|
Loading…
Reference in a new issue