Revert 184488 for regressing robohornetpro
commit5818f017399472aa1085a2ef776fd80419608d71
authorvollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 26 Feb 2013 23:00:27 +0000 (26 23:00 +0000)
committervollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 26 Feb 2013 23:00:27 +0000 (26 23:00 +0000)
tree9c58838fbcf4ec83fd65d8fa0d95e6342f09d008
parentd7ead6fae918551098658cd63c48d65eb3ec7950
Revert 184488 for regressing robohornetpro
> Enable accelerated animations for orphan layers
>
> This defines RenderWidgetCompositor::registerForAnimations,
> which associates the LayerAnimationController of
> newly-created cc::Layers with the AnimationRegistrar of the
> RenderWidgetCompositor's LayerTreeHost. This also makes
> cc::Layer::addAnimation accept animations whenever the
> layer's LayerAnimationController has an AnimationRegistrar,
> and makes LayerTreeHost only create an AnimationRegistrar
> when accelerated animations are enabled.
>
> BUG=129683
>
> Review URL: https://chromiumcodereview.appspot.com/12334041

TBR=kbr@chromium.org

BUG=178419

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184756 0039d316-1c4b-4281-b951-d872f2087c98
cc/layer.cc
cc/layer_animation_controller.h
cc/layer_tree_host.cc
cc/layer_unittest.cc
content/renderer/gpu/render_widget_compositor.cc
content/renderer/gpu/render_widget_compositor.h