RESOLVED FIXED Bug 57285
Remove specialization of EventDispatcher with inversion of control.
https://bugs.webkit.org/show_bug.cgi?id=57285
Summary Remove specialization of EventDispatcher with inversion of control.
Dimitri Glazkov (Google)
Reported 2011-03-28 16:46:54 PDT
Remove specialization of EventDispatcher with inversion of control.
Attachments
Patch (7.91 KB, patch)
2011-03-28 16:50 PDT, Dimitri Glazkov (Google)
eric: review+
Dimitri Glazkov (Google)
Comment 1 2011-03-28 16:50:45 PDT
WebKit Review Bot
Comment 2 2011-03-28 16:54:51 PDT
Attachment 87237 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/dom/KeyboardEvent.h:32: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dimitri Glazkov (Google)
Comment 3 2011-03-28 18:32:36 PDT
(In reply to comment #2) > Attachment 87237 [details] did not pass style-queue: > > Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 > > Source/WebCore/dom/KeyboardEvent.h:32: Code inside a namespace should not be indented. [whitespace/indent] [4] > Total errors found: 1 in 8 files > > > If any of these errors are false positives, please file a bug against check-webkit-style. Don't be sad, style elf. This file is old, and I am just adding one line to it.
Eric Seidel (no email)
Comment 4 2011-03-28 21:29:10 PDT
Comment on attachment 87237 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=87237&action=review > Source/WebCore/dom/EventDispatcher.cpp:61 > bool EventDispatcher::dispatchEvent(Node* node, PassRefPtr<Event> event) > { > EventDispatcher dispatcher(node); > - return dispatcher.dispatchEvent(event); > + RefPtr<Event> dispatchedEvent = event; > + return dispatchedEvent->dispatch(&dispatcher); > } So this will eventually go away?
Dimitri Glazkov (Google)
Comment 5 2011-03-28 21:30:11 PDT
Comment on attachment 87237 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=87237&action=review >> Source/WebCore/dom/EventDispatcher.cpp:61 >> } > > So this will eventually go away? No, that's the only thing that'll stay.
Eric Seidel (no email)
Comment 6 2011-03-28 21:36:32 PDT
Comment on attachment 87237 [details] Patch OK. I'm not 100% convinced of the direction, but I trust you, and would like to let you paint your picture so we can all see it!
Dimitri Glazkov (Google)
Comment 7 2011-03-29 09:21:13 PDT
WebKit Review Bot
Comment 8 2011-03-29 10:58:07 PDT
http://trac.webkit.org/changeset/82264 might have broken GTK Linux 32-bit Release The following tests are not passing: fast/loader/onload-willSendRequest-null-for-frame.html
Note You need to log in before you can comment on or make changes to this bug.