X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fdom%2FEventDispatcher.cpp;h=11f712f0071ab5596f117a0dd2ffd43f9e017c2d;hp=eafe1a2078e5fb260041778adc3ef9ef67b0c0d8;hb=6bffebf004eb112b462ab43ef8cc916a8f7c8dd4;hpb=8866baf2adf2107879e2f8bf9a09c80ca1402d07 diff --git a/Source/WebCore/dom/EventDispatcher.cpp b/Source/WebCore/dom/EventDispatcher.cpp index eafe1a2..11f712f 100644 --- a/Source/WebCore/dom/EventDispatcher.cpp +++ b/Source/WebCore/dom/EventDispatcher.cpp @@ -207,7 +207,7 @@ void EventDispatcher::dispatchScopedEvent(Node& node, PassRefPtr event) { // We need to set the target here because it can go away by the time we actually fire the event. event->setTarget(&eventTargetRespectingTargetRules(node)); - ScopedEventQueue::instance()->enqueueEvent(event); + ScopedEventQueue::instance().enqueueEvent(event); } void EventDispatcher::dispatchSimulatedClick(Element* element, Event* underlyingEvent, SimulatedClickMouseEventOptions mouseEventOptions, SimulatedClickVisualOptions visualOptions)