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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
index 5beb28daf76e97ae8fff2cf2dc854c942aedd71a..b574dc7bff9a12bbd70665be1a8340a31a50dc26 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
@@ -74,7 +74,7 @@ static StringKeyframeEffectModel* createKeyframeEffectModel(StyleResolver* resol
ASSERT(keyframesRule);
StringKeyframeVector keyframes;
- const WillBeHeapVector<RefPtrWillBeMember<StyleRuleKeyframe>>& styleKeyframes = keyframesRule->keyframes();
+ const HeapVector<Member<StyleRuleKeyframe>>& styleKeyframes = keyframesRule->keyframes();
// Construct and populate the style for each keyframe
PropertySet specifiedPropertiesForUseCounter;
@@ -303,7 +303,7 @@ void CSSAnimations::calculateAnimationUpdate(CSSAnimationUpdate& update, const E
RefPtr<TimingFunction> keyframeTimingFunction = timing.timingFunction;
timing.timingFunction = Timing::defaults().timingFunction;
- RefPtrWillBeRawPtr<StyleRuleKeyframes> keyframesRule = resolver->findKeyframesRule(elementForScoping, name);
+ RawPtr<StyleRuleKeyframes> keyframesRule = resolver->findKeyframesRule(elementForScoping, name);
if (!keyframesRule)
continue; // Cancel the animation if there's no style rule for it.
@@ -718,7 +718,7 @@ EventTarget* CSSAnimations::AnimationEventDelegate::eventTarget() const
void CSSAnimations::AnimationEventDelegate::maybeDispatch(Document::ListenerType listenerType, const AtomicString& eventName, double elapsedTime)
{
if (m_animationTarget->document().hasListenerType(listenerType)) {
- RefPtrWillBeRawPtr<AnimationEvent> event = AnimationEvent::create(eventName, m_name, elapsedTime);
+ RawPtr<AnimationEvent> event = AnimationEvent::create(eventName, m_name, elapsedTime);
event->setTarget(eventTarget());
document().enqueueAnimationFrameEvent(event);
}
@@ -779,7 +779,7 @@ void CSSAnimations::TransitionEventDelegate::onEventCondition(const AnimationEff
double elapsedTime = timing.iterationDuration;
const AtomicString& eventType = EventTypeNames::transitionend;
String pseudoElement = PseudoElement::pseudoElementNameForEvents(pseudoId());
- RefPtrWillBeRawPtr<TransitionEvent> event = TransitionEvent::create(eventType, propertyName, elapsedTime, pseudoElement);
+ RawPtr<TransitionEvent> event = TransitionEvent::create(eventType, propertyName, elapsedTime, pseudoElement);
event->setTarget(eventTarget());
document().enqueueAnimationFrameEvent(event);
}

Powered by Google App Engine
This is Rietveld 408576698