| Index: third_party/WebKit/Source/core/events/Event.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/Event.cpp b/third_party/WebKit/Source/core/events/Event.cpp
|
| index 3c9428ad35de9d91b75fd4c960f8ae9597d4369d..3b27344d18f2bc32c0bc7bcfa66a1f8fc208276a 100644
|
| --- a/third_party/WebKit/Source/core/events/Event.cpp
|
| +++ b/third_party/WebKit/Source/core/events/Event.cpp
|
| @@ -87,7 +87,6 @@ Event::Event(const AtomicString& eventType,
|
| m_immediatePropagationStopped(false),
|
| m_defaultPrevented(false),
|
| m_defaultHandled(false),
|
| - m_cancelBubble(false),
|
| m_wasInitialized(true),
|
| m_isTrusted(false),
|
| m_preventDefaultCalledOnUncancelableEvent(false),
|
| @@ -337,11 +336,8 @@ double Event::timeStamp(ScriptState* scriptState) const {
|
| }
|
|
|
| void Event::setCancelBubble(ExecutionContext* context, bool cancel) {
|
| - if (!m_cancelBubble && cancel)
|
| - UseCounter::count(context, UseCounter::EventCancelBubbleWasChangedToTrue);
|
| - else if (m_cancelBubble && !cancel)
|
| - UseCounter::count(context, UseCounter::EventCancelBubbleWasChangedToFalse);
|
| - m_cancelBubble = cancel;
|
| + if (cancel)
|
| + m_propagationStopped = true;
|
| }
|
|
|
| DEFINE_TRACE(Event) {
|
|
|