| Index: ash/test/test_metro_viewer_process_host.cc
|
| diff --git a/ash/test/test_metro_viewer_process_host.cc b/ash/test/test_metro_viewer_process_host.cc
|
| index ddcfa1b574533db80bd0342834127f57c7faa262..5dd448cc7d700ede040b0f03c0e5bfed1c8c3f1a 100644
|
| --- a/ash/test/test_metro_viewer_process_host.cc
|
| +++ b/ash/test/test_metro_viewer_process_host.cc
|
| @@ -26,10 +26,12 @@ void TestMetroViewerProcessHost::OnChannelError() {
|
| }
|
|
|
| void TestMetroViewerProcessHost::OnSetTargetSurface(
|
| - gfx::NativeViewId target_surface) {
|
| + gfx::NativeViewId target_surface,
|
| + float device_scale) {
|
| DLOG(INFO) << __FUNCTION__ << ", target_surface = " << target_surface;
|
| HWND hwnd = reinterpret_cast<HWND>(target_surface);
|
| - aura::RemoteWindowTreeHostWin::Instance()->SetRemoteWindowHandle(hwnd);
|
| + aura::RemoteWindowTreeHostWin::Instance()->
|
| + InitializeRemoteWindowAndScaleFactor(hwnd, device_scale);
|
| aura::RemoteWindowTreeHostWin::Instance()->Connected(this);
|
| }
|
|
|
|
|