diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 15:12:04 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-22 15:12:04 +0000 |
commit | e77509d53bf9a18be36bd8f65a6050291aef6262 (patch) | |
tree | bb7ccdde3c9c32c6f978c46f225a43029e3b92b6 /ui/gfx/surface | |
parent | e20abb610c5d98431793c606943813b606986197 (diff) | |
download | chromium_src-e77509d53bf9a18be36bd8f65a6050291aef6262.zip chromium_src-e77509d53bf9a18be36bd8f65a6050291aef6262.tar.gz chromium_src-e77509d53bf9a18be36bd8f65a6050291aef6262.tar.bz2 |
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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115538 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 3af04fc..c5ea5c6 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_, - NULL, + HWND_BOTTOM, 0, 0, size.width(), size.height(), SWP_NOACTIVATE | SWP_NOCOPYBITS | SWP_NOMOVE |SWP_NOOWNERZORDER | |