Summary: | [WML] Compilation error in wml enabled builds. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nayan <nayankk> | ||||
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, darin, eric, webkit.review.bot, zimmermann | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Nayan
2009-12-13 01:47:59 PST
This error is due to the changes committed with http://trac.webkit.org/changeset/51602. With this changeset, signature of 'WebCore::InputElement::setValue' is changed and 'WebCore::InputElement::setValueForUser' pure virtual function is added to 'InputElement' class. 'InputElement' class is the parent class for 'HTMLInputElement' and 'WMLInputElement' class. With 51602 changeset, changes in HTMLInputElement were done, but WMLInputElement wasn't changed to define these virtual functions and hence resulting in compilation errors. Created attachment 44751 [details]
Proposed patch
Proposed patch to resolve compilation error is attached for review. This simply changes the signature of 'setValue' function and defines 'setValueForUser' function in WMLInputElement class.
style-queue ran check-webkit-style on attachment 44751 [details] without any errors.
Comment on attachment 44751 [details]
Proposed patch
Should we just change setValueForUser to have a default implementation instead of being pure virtual? Is it really only useful to HTML? Otherwise this looks fine.
(In reply to comment #4) > (From update of attachment 44751 [details]) > Should we just change setValueForUser to have a default implementation instead > of being pure virtual? Is it really only useful to HTML? Otherwise this looks > fine. Thanks Eric for the review comments. Looks like, changes in changeset 51602 were done to detect a login form AutoFill from JavaScript. Since WML with Javascript is a rare scenario, I doubt these changes are required in WML. I guess Darin/Timothy will have some inputs here. Comment on attachment 44751 [details] Proposed patch Clearing flags on attachment: 44751 Committed r52107: <http://trac.webkit.org/changeset/52107> All reviewed patches have been landed. Closing bug. |