Update ui::CompositorObserver instrumentation
commit547791f6b1f56eec9e25759f91e721be9deec3c0
authorccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 13 Aug 2014 09:07:23 +0000 (13 09:07 +0000)
committerccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 13 Aug 2014 09:09:01 +0000 (13 09:09 +0000)
tree4f001597b28c71b5e8a35b66b98ff40344b25c9f
parent54097704dc4e39a682b3db3e1f23b2e4529bfa74
Update ui::CompositorObserver instrumentation

We'll want to make it the case that ui::CompositorObservers don't
outlive their ui::Compositors on all platforms. Update the instrumentation
and TODOs to reflect this, and move them to be behind DCHECK.

BUG=403011

Review URL: https://codereview.chromium.org/467703003

Cr-Commit-Position: refs/heads/master@{#289224}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289224 0039d316-1c4b-4281-b951-d872f2087c98
ui/compositor/compositor.cc
ui/compositor/compositor_observer.cc
ui/compositor/compositor_observer.h