fix: unused variable warnings in linux code (#12950)
This commit is contained in:
parent
c4134c3516
commit
8fa48d1c04
8 changed files with 10 additions and 20 deletions
|
@ -18,13 +18,13 @@ namespace atom {
|
|||
|
||||
namespace {
|
||||
|
||||
const char kViewClassName[] = "ElectronMenuBar";
|
||||
|
||||
// Default color of the menu bar.
|
||||
const SkColor kDefaultColor = SkColorSetARGB(255, 233, 233, 233);
|
||||
|
||||
} // namespace
|
||||
|
||||
const char MenuBar::kViewClassName[] = "ElectronMenuBar";
|
||||
|
||||
MenuBar::MenuBar(views::View* window)
|
||||
: background_color_(kDefaultColor), menu_model_(NULL), window_(window) {
|
||||
RefreshColorCache();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue