Index: ui/aura/remote_root_window_host_win.cc |
=================================================================== |
--- ui/aura/remote_root_window_host_win.cc (revision 236034) |
+++ ui/aura/remote_root_window_host_win.cc (working copy) |
@@ -136,7 +136,6 @@ |
ignore_mouse_moves_until_set_cursor_ack_(false), |
event_flags_(0) { |
prop_.reset(new ui::ViewProp(NULL, kRootWindowHostWinKey, this)); |
- CreateCompositor(GetAcceleratedWidget()); |
} |
RemoteRootWindowHostWin::~RemoteRootWindowHostWin() { |
@@ -147,6 +146,7 @@ |
CHECK(host_ == NULL); |
host_ = host; |
remote_window_ = remote_window; |
+ CreateCompositor(remote_window_); |
} |
void RemoteRootWindowHostWin::Disconnected() { |