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

Unified Diff: third_party/WebKit/Source/core/events/Event.h

Issue 2501333003: Event failed to dispatch after stopPropagation (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/core/events/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index e2074dd1a552b65efdc6b9c0d7419c24aae861ac..591f1b11e0f341494a3f4f214ccbc0dec853f69d 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -159,7 +159,9 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
double platformTimeStamp() const { return m_platformTimeStamp; }
void stopPropagation() { m_propagationStopped = true; }
+ void clearStopPropagation() { m_propagationStopped = false; }
hayato 2016/11/17 05:37:42 Could you rename this to setPropagationStopped(boo
void stopImmediatePropagation() { m_immediatePropagationStopped = true; }
+ void clearStopImmediatePropagation() { m_immediatePropagationStopped = false; }
// IE Extensions
EventTarget* srcElement() const {

Powered by Google App Engine
This is Rietveld 408576698