| Index: Source/core/frame/DOMWindow.cpp
|
| diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
|
| index c3c3810e53ac63924d2d854aba3fe839a88e8fbf..5dd8eec37bed5688e17ff79fceef8a44bd321746 100644
|
| --- a/Source/core/frame/DOMWindow.cpp
|
| +++ b/Source/core/frame/DOMWindow.cpp
|
| @@ -1604,6 +1604,8 @@ bool DOMWindow::dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtr
|
| event->setCurrentTarget(this);
|
| event->setEventPhase(Event::AT_TARGET);
|
|
|
| + TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools-timeline"), "DOMWindow::dispatchEvent", "type", event->type().ascii());
|
| + // FIXME(361045): remove InspectorInstrumentation calls once DevTools Timeline migrates to tracing.
|
| InspectorInstrumentationCookie cookie = InspectorInstrumentation::willDispatchEventOnWindow(frame(), *event, this);
|
|
|
| bool result = fireEventListeners(event.get());
|
|
|