summaryrefslogtreecommitdiffstats
path: root/ui/gfx/surface
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 00:53:18 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 00:53:18 +0000
commit1f139d1513ac3332cf940820e8be5195ca21333a (patch)
tree55a8a010a7c90c3073706e2ad4e32a437a24ea6d /ui/gfx/surface
parente0d22e884725a6fb153e405083d61d79639349ec (diff)
downloadchromium_src-1f139d1513ac3332cf940820e8be5195ca21333a.zip
chromium_src-1f139d1513ac3332cf940820e8be5195ca21333a.tar.gz
chromium_src-1f139d1513ac3332cf940820e8be5195ca21333a.tar.bz2
Win AcceleratedSurface does not change z-order when changing compositing window size.
Review URL: http://codereview.chromium.org/9076003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/surface')
-rw-r--r--ui/gfx/surface/accelerated_surface_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gfx/surface/accelerated_surface_win.cc b/ui/gfx/surface/accelerated_surface_win.cc
index 3af04fc..29f8993 100644
--- a/ui/gfx/surface/accelerated_surface_win.cc
+++ b/ui/gfx/surface/accelerated_surface_win.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -370,7 +370,7 @@ void AcceleratedSurface::DoPresentAndAcknowledge(
size.width(), size.height(),
SWP_NOACTIVATE | SWP_NOCOPYBITS | SWP_NOMOVE |SWP_NOOWNERZORDER |
SWP_NOREDRAW | SWP_NOSENDCHANGING | SWP_NOSENDCHANGING |
- SWP_ASYNCWINDOWPOS);
+ SWP_ASYNCWINDOWPOS | SWP_NOZORDER);
// Wait for the StretchRect to complete before notifying the GPU process
// that it is safe to write to its backing store again.