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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 33483002: Have Frame::animation() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index be86153e8b8e9213bc2ccc644bd021d94c393636..b89cae5ee435d356198c1f00299dbba44680e03a 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -2028,7 +2028,7 @@ void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime)
for (RefPtr<Frame> frame = m_frame; frame; frame = frame->tree()->traverseNext()) {
frame->view()->serviceScrollAnimations();
if (!RuntimeEnabledFeatures::webAnimationsCSSEnabled())
- frame->animation()->serviceAnimations();
+ frame->animation().serviceAnimations();
if (RuntimeEnabledFeatures::webAnimationsEnabled())
frame->document()->timeline()->serviceAnimations(monotonicAnimationStartTime);
}

Powered by Google App Engine
This is Rietveld 408576698