diff options
Diffstat (limited to 'ui/views/widget/native_widget_win.cc')
-rw-r--r-- | ui/views/widget/native_widget_win.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc index 6b832f4..b04bc7f 100644 --- a/ui/views/widget/native_widget_win.cc +++ b/ui/views/widget/native_widget_win.cc @@ -2511,8 +2511,7 @@ void NativeWidgetWin::ClientAreaSizeChanged() { std::max(0, static_cast<int>(r.bottom - r.top))); delegate_->OnNativeWidgetSizeChanged(s); if (use_layered_buffer_) - layered_window_contents_.reset( - new gfx::Canvas(s, ui::SCALE_FACTOR_100P, false)); + layered_window_contents_.reset(new gfx::Canvas(s, false)); } void NativeWidgetWin::UpdateDWMFrame() { |