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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffect.cpp

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get element id's from scroll node data directly. Created 4 years, 7 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: third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
index eb90cf50026449e67aa170908ad9183e495383ca..532f338c69b1799f1a3b1d7ece3059a7e85106ef 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
@@ -354,14 +354,6 @@ void KeyframeEffect::pauseAnimationForTestingOnCompositor(double pauseTime)
CompositorAnimations::instance()->pauseAnimationForTestingOnCompositor(*m_target, *animation(), compositorAnimationId, pauseTime);
}
-bool KeyframeEffect::canAttachCompositedLayers() const
-{
- if (!m_target || !animation())
- return false;
-
- return CompositorAnimations::instance()->canAttachCompositedLayers(*m_target, *animation());
-}
-
void KeyframeEffect::attachCompositedLayers()
{
ASSERT(m_target);

Powered by Google App Engine
This is Rietveld 408576698