diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 18:19:22 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 18:19:22 +0000 |
commit | bd078730e1d095f1948a2d2b86856cfdfa002dc0 (patch) | |
tree | 0d454605cdc737263f1f67c4aafbee0d5af2027f /ui/gfx/surface | |
parent | b4c34808606de3f2266a05eb6b74cd1466cd41e4 (diff) | |
download | chromium_src-bd078730e1d095f1948a2d2b86856cfdfa002dc0.zip chromium_src-bd078730e1d095f1948a2d2b86856cfdfa002dc0.tar.gz chromium_src-bd078730e1d095f1948a2d2b86856cfdfa002dc0.tar.bz2 |
Revert 115538 - Broke ui_tests:FlashFullscreen
Prevent Windows AcceleratedSurface from positioning the compositing window above plugin windows.
SetWindowPos moves the window to the top by default.
This broke chromium windowed flash plugins (not official chrome), e.g. youtube videos, when the accelerated compositor was active.
Review URL: http://codereview.chromium.org/9020034
TBR=apatrick@chromium.org
Review URL: http://codereview.chromium.org/9023012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/surface')
-rw-r--r-- | ui/gfx/surface/accelerated_surface_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/surface/accelerated_surface_win.cc b/ui/gfx/surface/accelerated_surface_win.cc index c5ea5c6..3af04fc 100644 --- a/ui/gfx/surface/accelerated_surface_win.cc +++ b/ui/gfx/surface/accelerated_surface_win.cc @@ -365,7 +365,7 @@ void AcceleratedSurface::DoPresentAndAcknowledge( ::SetWindowPos( window_, - HWND_BOTTOM, + NULL, 0, 0, size.width(), size.height(), SWP_NOACTIVATE | SWP_NOCOPYBITS | SWP_NOMOVE |SWP_NOOWNERZORDER | |