Skip to content

Commit

Permalink
Convert enum to enum class for Wigdet::FrameType
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Aug 29, 2019
1 parent 6239993 commit 1b77059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/native_window_views.cc
Expand Up @@ -278,7 +278,7 @@ NativeWindowViews::NativeWindowViews(const mate::Dictionary& options,
if (has_frame()) {
// TODO(zcbenz): This was used to force using native frame on Windows 2003,
// we should check whether setting it in InitParams can work.
widget()->set_frame_type(views::Widget::FrameType::FRAME_TYPE_FORCE_NATIVE);
widget()->set_frame_type(views::Widget::FrameType::kForceNative);
widget()->FrameTypeChanged();
#if defined(OS_WIN)
// thickFrame also works for normal window.
Expand Down

0 comments on commit 1b77059

Please sign in to comment.