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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 1637083004: CC Animation: Remove meaningless method from WebLayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « cc/layers/layer.cc ('k') | third_party/WebKit/public/platform/WebLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index 6265be6295d51a6b701913e47a963f5318e00c82..f0e32bf0aac4449d93e7cd246539743bd417ee8d 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -1119,9 +1119,6 @@ bool GraphicsLayer::addAnimation(PassOwnPtr<WebCompositorAnimation> popAnimation
OwnPtr<WebCompositorAnimation> animation(std::move(popAnimation));
ASSERT(animation);
platformLayer()->setAnimationDelegate(this);
-
- // Remove any existing animations with the same animation id and target property.
- platformLayer()->removeAnimation(animation->id(), animation->targetProperty());
return platformLayer()->addAnimation(animation.leakPtr());
}
« no previous file with comments | « cc/layers/layer.cc ('k') | third_party/WebKit/public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698