Index: cc/animation/element_animations.cc |
diff --git a/cc/animation/element_animations.cc b/cc/animation/element_animations.cc |
index be4b9687d99075a6e8b8aa7cc5c3bdb9e74e164b..32b6366e7a6a951873b91230645fbc2b7b6b8e73 100644 |
--- a/cc/animation/element_animations.cc |
+++ b/cc/animation/element_animations.cc |
@@ -567,6 +567,7 @@ void ElementAnimations::PushNewAnimationsToImplThread( |
} else { |
// The owning layer isn't yet in the active tree, so the main thread |
// scroll offset will be up-to-date. |
+ DCHECK(has_element_in_active_list()); |
current_scroll_offset = ScrollOffsetForAnimation(); |
} |
animations_[i]->curve()->ToScrollOffsetAnimationCurve()->SetInitialValue( |