Bug 61231

Summary: Move EventQueue's Document-specific methods to a subclass
Product: WebKit Reporter: David Grogan <dgrogan>
Component: New BugsAssignee: David Grogan <dgrogan>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, commit-queue, dimich, levin, mihaip
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 57789    
Attachments:
Description Flags
Patch
gyuyoung.kim: commit-queue-
Patch
gyuyoung.kim: commit-queue-
Patch
none
Patch
none
Patch levin: review+, commit-queue: commit-queue-

David Grogan
Reported 2011-05-20 17:59:56 PDT
Move EventQueue's Document-specific methods to a subclass
Attachments
Patch (18.96 KB, patch)
2011-05-20 19:47 PDT, David Grogan
gyuyoung.kim: commit-queue-
Patch (20.09 KB, patch)
2011-05-20 20:29 PDT, David Grogan
gyuyoung.kim: commit-queue-
Patch (22.18 KB, patch)
2011-05-20 21:34 PDT, David Grogan
no flags
Patch (22.70 KB, patch)
2011-05-20 22:28 PDT, David Grogan
no flags
Patch (22.70 KB, patch)
2011-05-23 12:34 PDT, David Grogan
levin: review+
commit-queue: commit-queue-
David Grogan
Comment 1 2011-05-20 19:47:11 PDT
David Grogan
Comment 2 2011-05-20 19:51:56 PDT
Dave, This is the refactoring we talked about around https://bugs.webkit.org/show_bug.cgi?id=57789#c8. Could you take a look when you get a chance?
Early Warning System Bot
Comment 3 2011-05-20 20:07:53 PDT
David Grogan
Comment 4 2011-05-20 20:29:24 PDT
Gyuyoung Kim
Comment 5 2011-05-20 20:44:44 PDT
David Grogan
Comment 6 2011-05-20 21:34:49 PDT
Gyuyoung Kim
Comment 7 2011-05-20 21:59:06 PDT
David Grogan
Comment 8 2011-05-20 22:28:13 PDT
David Levin
Comment 9 2011-05-22 18:04:18 PDT
Comment on attachment 94320 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=94320&action=review > Source/WebCore/dom/EventQueue.cpp:64 > + eventTarget->toDOMWindow()->dispatchEvent(event, /* PassRefPtr<EventTarget> */ 0); Instead of putting in this comment and using an implicit conversion, just put in PassRefPtr<EventTarget>(). (We'll likely want to remove the implicit constructor anyway eventually like we did for OwnPtr.)
David Grogan
Comment 10 2011-05-23 12:34:38 PDT
WebKit Commit Bot
Comment 11 2011-05-23 17:19:08 PDT
Comment on attachment 94462 [details] Patch Rejecting attachment 94462 [details] from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=cr-jail-7', 'build'..." exit_code: 2 Last 500 characters of output: E_APP_SUPPORT_DIR /Developer/Library/Xcode setenv XCODE_VERSION_ACTUAL 0322 setenv XCODE_VERSION_MAJOR 0300 setenv XCODE_VERSION_MINOR 0320 setenv YACC /Developer/usr/bin/yacc /bin/sh -c /mnt/git/webkit-commit-queue/WebKitBuild/WebCore.build/Debug/WebCore.build/Script-5DF50887116F3077005202AB.sh ** BUILD FAILED ** The following build commands failed: WebCore: Ld /mnt/git/webkit-commit-queue/WebKitBuild/Debug/WebCore.framework/Versions/A/WebCore normal x86_64 (1 failure) Full output: http://queues.webkit.org/results/8729329
David Levin
Comment 12 2011-05-23 17:29:30 PDT
Undefined symbols: "__ZN7WebCore18DocumentEventQueue28enqueueOrDispatchScrollEventEN3WTF10PassRefPtrINS_4NodeEEENS0_21ScrollEventTargetTypeE", referenced from: __ZN7WebCore12EventHandler15sendScrollEventEv in EventHandler.o __ZN7WebCore11RenderLayer8scrollToEii in RenderLayer.o __ZN7WebCore13RenderListBox8scrollToEi in RenderListBox.o "__ZN7WebCore18DocumentEventQueue6createEPNS_22ScriptExecutionContextE", referenced from: __ZN7WebCore8DocumentC1EPNS_5FrameERKNS_4KURLEbb in Document.o __ZN7WebCore8DocumentC2EPNS_5FrameERKNS_4KURLEbb in Document.o ld: symbol(s) not found collect2: ld returned 1 exit status
David Grogan
Comment 13 2011-10-27 16:21:50 PDT
57789 took care of this *** This bug has been marked as a duplicate of bug 57789 ***
Note You need to log in before you can comment on or make changes to this bug.