Force clear when root view is animating.
If the root view is animating, or it's bounds do not fill the client area, compositing should clear first to clean up any ghosts.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7778045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100927 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/gfx/compositor/compositor.cc b/ui/gfx/compositor/compositor.cc
index eca0c70..0bfe8705 100644
--- a/ui/gfx/compositor/compositor.cc
+++ b/ui/gfx/compositor/compositor.cc
@@ -15,8 +15,8 @@
Compositor::~Compositor() {
}
-void Compositor::NotifyStart() {
- OnNotifyStart();
+void Compositor::NotifyStart(bool clear) {
+ OnNotifyStart(clear);
}
void Compositor::NotifyEnd() {