| Index: ui/views/win/hwnd_message_handler.cc
|
| diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
| index ba8f4465c1e4b3b5499d5465359338530b31951a..253eb2254bdef26926cebc5d4a4ffe98913d721f 100644
|
| --- a/ui/views/win/hwnd_message_handler.cc
|
| +++ b/ui/views/win/hwnd_message_handler.cc
|
| @@ -15,6 +15,7 @@
|
| #include "ui/base/events/event_utils.h"
|
| #include "ui/base/gestures/gesture_sequence.h"
|
| #include "ui/base/keycodes/keyboard_code_conversion_win.h"
|
| +#include "ui/base/layout.h"
|
| #include "ui/base/touch/touch_enabled.h"
|
| #include "ui/base/win/mouse_wheel_util.h"
|
| #include "ui/base/win/shell.h"
|
| @@ -1037,10 +1038,8 @@ void HWNDMessageHandler::ClientAreaSizeChanged() {
|
| gfx::Size s(std::max(0, static_cast<int>(r.right - r.left)),
|
| std::max(0, static_cast<int>(r.bottom - r.top)));
|
| delegate_->HandleClientSizeChanged(s);
|
| - if (use_layered_buffer_) {
|
| - layered_window_contents_.reset(
|
| - new gfx::Canvas(s, ui::SCALE_FACTOR_100P, false));
|
| - }
|
| + if (use_layered_buffer_)
|
| + layered_window_contents_.reset(new gfx::Canvas(s, 1.0f, false));
|
| }
|
|
|
| bool HWNDMessageHandler::GetClientAreaInsets(gfx::Insets* insets) const {
|
|
|