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

Unified Diff: Source/core/frame/animation/AnimationControllerPrivate.h

Issue 57643004: Pass RenderStyle / RenderObject by reference in more places (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 7 years, 1 month 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/animation/AnimationControllerPrivate.h
diff --git a/Source/core/frame/animation/AnimationControllerPrivate.h b/Source/core/frame/animation/AnimationControllerPrivate.h
index 94a0ec3f5cbe5ad10924930a328ea13764ac10e0..671ec89b5732e5077ea75d9659ac4c9fb7ba0673 100644
--- a/Source/core/frame/animation/AnimationControllerPrivate.h
+++ b/Source/core/frame/animation/AnimationControllerPrivate.h
@@ -64,7 +64,7 @@ public:
void updateAnimations(double& timeToNextService, double& timeToNextEvent, SetNeedsStyleRecalc callSetNeedsStyleRecalc = DoNotCallSetNeedsStyleRecalc);
void scheduleService();
- PassRefPtr<CompositeAnimation> accessCompositeAnimation(RenderObject*);
+ PassRefPtr<CompositeAnimation> accessCompositeAnimation(RenderObject&);
bool clear(RenderObject*);
void updateStyleIfNeededDispatcherFired(Timer<AnimationControllerPrivate>*);
@@ -98,7 +98,7 @@ public:
void animationWillBeRemoved(AnimationBase*);
- void scheduleServiceForRenderer(RenderObject*);
+ void scheduleServiceForRenderer(RenderObject&);
private:
void animationTimerFired(Timer<AnimationControllerPrivate>*);
« no previous file with comments | « Source/core/frame/animation/AnimationController.cpp ('k') | Source/core/frame/animation/CompositeAnimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698