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

Unified Diff: Source/core/html/track/TextTrackCue.h

Issue 1241613004: Rework dispatchEvent so it is consistent for isTrusted support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/html/track/TextTrackCue.h
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h
index 4402104f5f10314e8aace06a582e2b717346ddb6..34cbc0a1e508b4ee52c91f4ff26439542dd01f80 100644
--- a/Source/core/html/track/TextTrackCue.h
+++ b/Source/core/html/track/TextTrackCue.h
@@ -74,9 +74,6 @@ public:
void updateCueIndex(unsigned cueIndex) { m_cueIndex = cueIndex; }
void invalidateCueIndex();
- using EventTarget::dispatchEvent;
- bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override;
-
bool isActive() const { return m_isActive; }
void setIsActive(bool active) { m_isActive = active; }
@@ -112,6 +109,7 @@ protected:
void cueWillChange();
virtual void cueDidChange();
+ bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
private:
AtomicString m_id;

Powered by Google App Engine
This is Rietveld 408576698