Bug 163236 - Address some review feedback from r206979 and r207010
Summary: Address some review feedback from r206979 and r207010
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords:
Depends on:
Blocks: 163112
  Show dependency treegraph
 
Reported: 2016-10-10 13:00 PDT by Wenson Hsieh
Modified: 2016-10-10 13:55 PDT (History)
1 user (show)

See Also:


Attachments
Patch (3.57 KB, patch)
2016-10-10 13:07 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2016-10-10 13:00:03 PDT
In TypingCommand.h, some methods on TypingCommand should be marked as final to reflect the fact that they override methods in CompositeEditCommand. Also, HTMLFormControlElement::dispatchFormControlInputEvent does not need to specify HTMLElement::dispatchInputEvent() when calling dispatchInputEvent().
Comment 1 Wenson Hsieh 2016-10-10 13:07:36 PDT
Created attachment 291150 [details]
Patch
Comment 2 Tim Horton 2016-10-10 13:19:18 PDT
Comment on attachment 291150 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=291150&action=review

> Source/WebCore/html/HTMLFormControlElement.cpp:329
> -    HTMLElement::dispatchInputEvent();
> +    dispatchInputEvent();

This is a fairly surprising thing to have done unintentionally. Are you sure there isn't a closer implementation that it is trying to skip?
Comment 3 Wenson Hsieh 2016-10-10 13:22:54 PDT
(In reply to comment #2)
> Comment on attachment 291150 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=291150&action=review
> 
> > Source/WebCore/html/HTMLFormControlElement.cpp:329
> > -    HTMLElement::dispatchInputEvent();
> > +    dispatchInputEvent();
> 
> This is a fairly surprising thing to have done unintentionally. Are you sure
> there isn't a closer implementation that it is trying to skip?

dispatchInputEvent (as a method) is only defined on HTMLElement.
Comment 4 WebKit Commit Bot 2016-10-10 13:55:29 PDT
Comment on attachment 291150 [details]
Patch

Clearing flags on attachment: 291150

Committed r207018: <http://trac.webkit.org/changeset/207018>
Comment 5 WebKit Commit Bot 2016-10-10 13:55:32 PDT
All reviewed patches have been landed.  Closing bug.