Skip to content

Commit 0087f8d

Browse files
committed
linux: Fix building for Chrome 40
1 parent dd60668 commit 0087f8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

atom/browser/ui/views/submenu_button.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ SubmenuButton::SubmenuButton(views::ButtonListener* listener,
3737
underline_color_(SK_ColorBLACK) {
3838
#if defined(OS_LINUX)
3939
// Dont' use native style border.
40-
SetBorder(CreateDefaultBorder().PassAs<views::Border>());
40+
SetBorder(CreateDefaultBorder().Pass());
4141
#endif
4242

4343
if (GetUnderlinePosition(title, &accelerator_, &underline_start_,

vendor/brightray

0 commit comments

Comments
 (0)