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

Unified Diff: ui/gfx/compositor/layer.cc

Issue 8395046: Allows observers to be notified when layer animations complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments. 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
Index: ui/gfx/compositor/layer.cc
diff --git a/ui/gfx/compositor/layer.cc b/ui/gfx/compositor/layer.cc
index e9a9ed578dfdfde1fab4b94b0af6d50f9d396cec..8cf4b80fa910354db66c6f5c9d3b4225f33ee948 100644
--- a/ui/gfx/compositor/layer.cc
+++ b/ui/gfx/compositor/layer.cc
@@ -650,11 +650,6 @@ float Layer::GetOpacityForAnimation() const {
return opacity();
}
-void Layer::OnLayerAnimationEnded(LayerAnimationSequence* sequence) {
- if (delegate_)
- delegate_->OnLayerAnimationEnded(sequence);
-}
-
#if defined(USE_WEBKIT_COMPOSITOR)
void Layer::CreateWebLayer() {
web_layer_ = WebKit::WebContentLayer::create(this, this);

Powered by Google App Engine
This is Rietveld 408576698