Index: trunk/src/ui/aura/remote_root_window_host_win.cc |
=================================================================== |
--- trunk/src/ui/aura/remote_root_window_host_win.cc (revision 242052) |
+++ trunk/src/ui/aura/remote_root_window_host_win.cc (working copy) |
@@ -162,6 +162,7 @@ |
event_flags_(0), |
window_size_(aura::RootWindowHost::GetNativeScreenSize()) { |
prop_.reset(new ui::ViewProp(NULL, kRootWindowHostWinKey, this)); |
+ CreateCompositor(GetAcceleratedWidget()); |
} |
RemoteRootWindowHostWin::~RemoteRootWindowHostWin() { |
@@ -172,7 +173,6 @@ |
CHECK(host_ == NULL); |
host_ = host; |
remote_window_ = remote_window; |
- CreateCompositor(remote_window_); |
} |
void RemoteRootWindowHostWin::Disconnected() { |