Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: trunk/src/ui/aura/remote_root_window_host_win.cc

Issue 119863002: Revert 242026 "Get Windows 8 ASH to work again. " (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698