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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.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/Animation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
index fe128ab5681b93f8fc0b986307c055b02a18661b..79203aa481a72b1db300b9ae8a08d940a5d6e4bb 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -640,7 +640,7 @@ void Animation::stop()
m_pendingFinishedEvent = nullptr;
}
-bool Animation::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
+bool Animation::dispatchEventInternal(RawPtr<Event> event)
{
if (m_pendingFinishedEvent == event)
m_pendingFinishedEvent = nullptr;
@@ -1067,7 +1067,7 @@ Animation::PlayStateUpdateScope::~PlayStateUpdateScope()
InspectorInstrumentation::animationPlayStateChanged(m_animation->timeline()->document(), m_animation, oldPlayState, newPlayState);
}
-bool Animation::addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener> listener, const EventListenerOptions& options)
+bool Animation::addEventListenerInternal(const AtomicString& eventType, RawPtr<EventListener> listener, const EventListenerOptions& options)
{
if (eventType == EventTypeNames::finish)
UseCounter::count(executionContext(), UseCounter::AnimationFinishEvent);

Powered by Google App Engine
This is Rietveld 408576698