Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(812)

Unified Diff: ui/aura_shell/workspace/workspace_manager.cc

Issue 8400059: Revert 107715 - Enable the new layer animation framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura_shell/workspace/workspace.cc ('k') | ui/gfx/compositor/compositor.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/workspace/workspace_manager.cc
===================================================================
--- ui/aura_shell/workspace/workspace_manager.cc (revision 107719)
+++ ui/aura_shell/workspace/workspace_manager.cc (working copy)
@@ -131,7 +131,7 @@
transform.SetTranslateX(-active_workspace_->bounds().x());
}
- ui::LayerAnimator::ScopedSettings settings(viewport_->layer()->GetAnimator());
+ viewport_->layer()->SetAnimation(aura::Window::CreateDefaultAnimation());
viewport_->layer()->SetTransform(transform);
}
@@ -247,8 +247,7 @@
if (active_workspace_) {
ui::Transform transform;
transform.SetTranslateX(-active_workspace_->bounds().x());
- ui::LayerAnimator::ScopedSettings settings(
- viewport_->layer()->GetAnimator());
+ viewport_->layer()->SetAnimation(aura::Window::CreateDefaultAnimation());
viewport_->SetTransform(transform);
}
}
« no previous file with comments | « ui/aura_shell/workspace/workspace.cc ('k') | ui/gfx/compositor/compositor.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698