diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-03 15:01:06 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-03 15:01:06 +0000 |
commit | d0084c88b8deb992bbf781b23fb783252ae7d9ab (patch) | |
tree | 74815a2710004628cc7b95cf1e495749b3ba0334 /ui/gfx/compositor/layer_animator.h | |
parent | 1e8e59043dd37925182904000a323e2b7290c862 (diff) | |
download | chromium_src-d0084c88b8deb992bbf781b23fb783252ae7d9ab.zip chromium_src-d0084c88b8deb992bbf781b23fb783252ae7d9ab.tar.gz chromium_src-d0084c88b8deb992bbf781b23fb783252ae7d9ab.tar.bz2 |
Fixes painting regression. The problem was I optimized to only send to
NonClientView when inactive rendering disabled changes, but
implementations are relying on this to be sent when active state may
have changed too. This isn't the right fix, but gives us the old
behavior. We really need to persist active state in widget, then
notify the NonClientView when it changes, or the inactive rendering
disabled state changes.
BUG=102695
TEST=easiest to verify on windows in classic mode (non-aero). Create
two chrome windows, click between them and make sure the window losing
activation state looks inactive.
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8386064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/compositor/layer_animator.h')
-rw-r--r-- | ui/gfx/compositor/layer_animator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/compositor/layer_animator.h b/ui/gfx/compositor/layer_animator.h index 4fca4e5..c7286b5 100644 --- a/ui/gfx/compositor/layer_animator.h +++ b/ui/gfx/compositor/layer_animator.h @@ -122,7 +122,7 @@ class COMPOSITOR_EXPORT LayerAnimator : public AnimationContainerElement { // these changes are reverted when the object is destroyed. NOTE: when the // settings object is created, it applies the default transition duration // (200ms). - class ScopedSettings { + class COMPOSITOR_EXPORT ScopedSettings { public: explicit ScopedSettings(LayerAnimator* animator); virtual ~ScopedSettings(); |