RESOLVED FIXED 71641
InputType::fallbackValue and defaultValue should be const
https://bugs.webkit.org/show_bug.cgi?id=71641
Summary InputType::fallbackValue and defaultValue should be const
Keishi Hattori
Reported 2011-11-06 15:35:06 PST
They should both be const so it could be used inside other const methods.
Attachments
Patch (8.83 KB, patch)
2011-11-06 15:38 PST, Keishi Hattori
no flags
Patch (8.88 KB, patch)
2011-11-06 17:46 PST, Keishi Hattori
no flags
Patch (8.89 KB, patch)
2011-11-06 17:53 PST, Keishi Hattori
no flags
Keishi Hattori
Comment 1 2011-11-06 15:38:14 PST
Kent Tamura
Comment 2 2011-11-06 17:13:49 PST
Comment on attachment 113809 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=113809&action=review > Source/WebCore/html/BaseCheckableInputType.h:51 > + virtual String fallbackValue() const; We had better add 'OVERRIDE' too. > Source/WebCore/html/ColorInputType.h:51 > + virtual String fallbackValue() const; ditto. > Source/WebCore/html/RangeInputType.h:70 > + virtual String fallbackValue() const; ditto. > Source/WebCore/html/ResetInputType.h:47 > + virtual String defaultValue() const; ditto. > Source/WebCore/html/SubmitInputType.h:49 > + virtual String defaultValue() const; ditto.
Keishi Hattori
Comment 3 2011-11-06 17:46:53 PST
Keishi Hattori
Comment 4 2011-11-06 17:48:23 PST
Comment on attachment 113815 [details] Patch Added OVERRIDE
Kent Tamura
Comment 5 2011-11-06 17:49:34 PST
Comment on attachment 113815 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=113815&action=review > Source/WebCore/html/ResetInputType.h:47 > + virtual String defaultValue() const; We had better add 'OVERRIDE'
Keishi Hattori
Comment 6 2011-11-06 17:51:29 PST
Comment on attachment 113815 [details] Patch Missed that one. Fixing.
Keishi Hattori
Comment 7 2011-11-06 17:53:54 PST
WebKit Review Bot
Comment 8 2011-11-06 22:27:47 PST
Comment on attachment 113816 [details] Patch Clearing flags on attachment: 113816 Committed r99395: <http://trac.webkit.org/changeset/99395>
WebKit Review Bot
Comment 9 2011-11-06 22:27:51 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.