| Index: ui/aura/window.cc
|
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc
|
| index c20169e1a88a1e81f684a249213b66c08a84b552..e421789684a33322112b4f43b90896f75cd0f56c 100644
|
| --- a/ui/aura/window.cc
|
| +++ b/ui/aura/window.cc
|
| @@ -25,6 +25,7 @@
|
| #include "ui/aura/window_delegate.h"
|
| #include "ui/aura/window_observer.h"
|
| #include "ui/aura/window_tracker.h"
|
| +#include "ui/aura/window_tree_host.h"
|
| #include "ui/compositor/compositor.h"
|
| #include "ui/compositor/layer.h"
|
| #include "ui/gfx/animation/multi_animation.h"
|
| @@ -652,7 +653,7 @@ void* Window::GetNativeWindowProperty(const char* key) const {
|
| void Window::OnDeviceScaleFactorChanged(float device_scale_factor) {
|
| ScopedCursorHider hider(this);
|
| if (dispatcher_)
|
| - dispatcher_->DeviceScaleFactorChanged(device_scale_factor);
|
| + dispatcher_->host()->OnDeviceScaleFactorChanged(device_scale_factor);
|
| if (delegate_)
|
| delegate_->OnDeviceScaleFactorChanged(device_scale_factor);
|
| }
|
|
|