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

Unified Diff: Source/core/animation/Animation.cpp

Issue 1241613004: Rework dispatchEvent so it is consistent for isTrusted support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Work around MSVC optimization bug Created 5 years, 5 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/animation/Animation.cpp
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp
index 3a9c5c7aa20a4554ae85d85bfef5ce4d75338826..272870789019e657c6ee3c97914f2af3a18c17cc 100644
--- a/Source/core/animation/Animation.cpp
+++ b/Source/core/animation/Animation.cpp
@@ -643,11 +643,11 @@ void Animation::stop()
m_pendingFinishedEvent = nullptr;
}
-bool Animation::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event)
+bool Animation::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
{
if (m_pendingFinishedEvent == event)
m_pendingFinishedEvent = nullptr;
- return EventTargetWithInlineData::dispatchEvent(event);
+ return EventTargetWithInlineData::dispatchEventInternal(event);
}
double Animation::playbackRate() const

Powered by Google App Engine
This is Rietveld 408576698