diff options
Diffstat (limited to 'chromium/ui/compositor/compositor_constants.h')
-rw-r--r-- | chromium/ui/compositor/compositor_constants.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/chromium/ui/compositor/compositor_constants.h b/chromium/ui/compositor/compositor_constants.h deleted file mode 100644 index ef007b0ff7f..00000000000 --- a/chromium/ui/compositor/compositor_constants.h +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2014 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. - -#ifndef UI_COMPOSITOR_COMPOSITOR_CONSTANTS_H_ -#define UI_COMPOSITOR_COMPOSITOR_CONSTANTS_H_ - -// This flag is used to work around a rendering bug in Windows where the -// software surface becomes inconsistent with the hardware surface. This -// happens in particular circumstances (Classic mode, Chrome using hardware -// rendering, and the window on a secondary monitor) and when moving the mouse -// over the window, Windows restores the GDI software surface underneath the -// mouse, rather than the hardware surface we've painted. As a result, for -// small or infrequently painting windows, we force back to the software -// compositor to avoid this bug. See http://crbug.com/333380. -const wchar_t kForceSoftwareCompositor[] = L"Chrome.ForceSoftwareCompositor"; - -#endif // UI_COMPOSITOR_COMPOSITOR_CONSTANTS_H_ |