summaryrefslogtreecommitdiffstats
path: root/ui/aura
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-03 02:21:37 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-03 02:21:37 +0000
commitde2678fd6a789cea33bbade9b3612f56ea769550 (patch)
tree30a59fcac47f77927283102e97a82be8ab227944 /ui/aura
parent2ac9693b9b7fad701313aa6bf7a8407fb63ac2b1 (diff)
downloadchromium_src-de2678fd6a789cea33bbade9b3612f56ea769550.zip
chromium_src-de2678fd6a789cea33bbade9b3612f56ea769550.tar.gz
chromium_src-de2678fd6a789cea33bbade9b3612f56ea769550.tar.bz2
Revert 242849 "Recreate the compositor when we receive the targe..."
It seems like the most likely cause of ash_unittests failures on Win8 Aura bot. > Recreate the compositor when we receive the target HWND from the metro viewer process on Windows 8 ASH. > > This ensures that the compositor paints on the correct surface. > > Fixes a regression which occurred after the latest aura refactoring changes. This resulted in nothing painting > in Windows 8 ASH. > > Ben's change to address the metro painting issue was reverted on Dec 20th due to ash_unittest crashes. > > This fix works well with the ash_unittests and regular Chrome code path. > > BUG=330179 > R=cpu@chromium.org, cpu > TBR=beng > > Review URL: https://codereview.chromium.org/123563003 TBR=ananta@chromium.org Review URL: https://codereview.chromium.org/122953004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura')
-rw-r--r--ui/aura/remote_root_window_host_win.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/aura/remote_root_window_host_win.cc b/ui/aura/remote_root_window_host_win.cc
index fe2dd08..b8c14b7 100644
--- a/ui/aura/remote_root_window_host_win.cc
+++ b/ui/aura/remote_root_window_host_win.cc
@@ -174,9 +174,6 @@ void RemoteRootWindowHostWin::Connected(IPC::Sender* host, HWND remote_window) {
CHECK(host_ == NULL);
host_ = host;
remote_window_ = remote_window;
- // Recreate the compositor for the target surface represented by the
- // remote_window HWND
- CreateCompositor(remote_window_);
}
void RemoteRootWindowHostWin::Disconnected() {