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)); |
cpu_(ooo_6.6-7.5)
2013/08/25 23:35:17
note that here I switched the order (see lines 34
|
- |
- scoped_refptr<AcceleratedPresenter> any_window = |
- AcceleratedPresenter::GetForWindow(NULL); |
- any_window->SetNewTargetWindow(hwnd); |
- aura::RemoteRootWindowHostWin::Instance()->Connected(this); |
} |
void TestMetroViewerProcessHost::OnOpenURL(const string16& url) { |