| Index: ash/test/test_metro_viewer_process_host.cc
|
| ===================================================================
|
| --- ash/test/test_metro_viewer_process_host.cc (revision 217576)
|
| +++ ash/test/test_metro_viewer_process_host.cc (working copy)
|
| @@ -30,13 +30,9 @@
|
| gfx::NativeViewId target_surface) {
|
| DLOG(INFO) << __FUNCTION__ << ", target_surface = " << target_surface;
|
| HWND hwnd = reinterpret_cast<HWND>(target_surface);
|
| + aura::RemoteRootWindowHostWin::Instance()->Connected(this, hwnd);
|
|
|
| backing_surface_.reset(new AcceleratedSurface(hwnd));
|
| -
|
| - scoped_refptr<AcceleratedPresenter> any_window =
|
| - AcceleratedPresenter::GetForWindow(NULL);
|
| - any_window->SetNewTargetWindow(hwnd);
|
| - aura::RemoteRootWindowHostWin::Instance()->Connected(this);
|
| }
|
|
|
| void TestMetroViewerProcessHost::OnOpenURL(const string16& url) {
|
|
|