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

Side by Side Diff: third_party/WebKit/Source/platform/animation/CompositorAnimation.cpp

Issue 1739743003: Blink Compositor Animation: Erase old animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude histograms.xml Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/animation/CompositorAnimation.h" 5 #include "platform/animation/CompositorAnimation.h"
6 6
7 #include "cc/animation/animation.h" 7 #include "cc/animation/animation.h"
8 #include "cc/animation/animation_curve.h" 8 #include "cc/animation/animation_curve.h"
9 #include "cc/animation/animation_id_provider.h" 9 #include "cc/animation/animation_id_provider.h"
10 #include "platform/animation/CompositorAnimationCurve.h" 10 #include "platform/animation/CompositorAnimationCurve.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 break; 194 break;
195 } 195 }
196 } 196 }
197 197
198 scoped_ptr<cc::Animation> CompositorAnimation::passAnimation() 198 scoped_ptr<cc::Animation> CompositorAnimation::passAnimation()
199 { 199 {
200 m_animation->set_needs_synchronized_start_time(true); 200 m_animation->set_needs_synchronized_start_time(true);
201 return std::move(m_animation); 201 return std::move(m_animation);
202 } 202 }
203 203
204 cc::Animation* CompositorAnimation::releaseCCAnimation()
205 {
206 m_animation->set_needs_synchronized_start_time(true);
207 return m_animation.release();
208 }
209
210 } // namespace blink 204 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698