diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-03 02:21:37 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-03 02:21:37 +0000 |
commit | de2678fd6a789cea33bbade9b3612f56ea769550 (patch) | |
tree | 30a59fcac47f77927283102e97a82be8ab227944 /ui/aura | |
parent | 2ac9693b9b7fad701313aa6bf7a8407fb63ac2b1 (diff) | |
download | chromium_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.cc | 3 |
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() { |