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

Unified Diff: Source/core/animation/Animation.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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: Source/core/animation/Animation.cpp
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp
index 1cb73a08c8ed98123f96df0e8a599685add28189..23297a040c5752e4c47c38bbd8c2802d4cce067d 100644
--- a/Source/core/animation/Animation.cpp
+++ b/Source/core/animation/Animation.cpp
@@ -272,7 +272,7 @@ bool Animation::cancelAnimationOnCompositor()
DisableCompositingQueryAsserts disabler;
if (!hasActiveAnimationsOnCompositor())
return false;
- if (!m_target || !m_target->renderer())
+ if (!m_target || !m_target->layoutObject())
return false;
for (const auto& compositorAnimationId : m_compositorAnimationIds)
CompositorAnimations::instance()->cancelAnimationOnCompositor(*m_target, compositorAnimationId);
@@ -295,7 +295,7 @@ void Animation::cancelIncompatibleAnimationsOnCompositor()
void Animation::pauseAnimationForTestingOnCompositor(double pauseTime)
{
ASSERT(hasActiveAnimationsOnCompositor());
- if (!m_target || !m_target->renderer())
+ if (!m_target || !m_target->layoutObject())
return;
for (const auto& compositorAnimationId : m_compositorAnimationIds)
CompositorAnimations::instance()->pauseAnimationForTestingOnCompositor(*m_target, compositorAnimationId, pauseTime);

Powered by Google App Engine
This is Rietveld 408576698