Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Issue 19488002: Introduce toHTMLSelectElement and remove isHTMLSelectElement (Closed)

Created:
7 years, 5 months ago by kangil_
Modified:
7 years, 5 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Introduce toHTMLSelectElement and remove isHTMLSelectElement To avoid direct use of static_cast, this patch introduces toHTMLSelectElement for code cleanup. Additionally, this patch removes isHTMLSelectElement because not all element subclasses can be checked by a combination of tag names. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154365

Patch Set 1 #

Total comments: 10

Patch Set 2 : Took Tamura's comment into consideration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -16 lines) Patch
M Source/core/html/HTMLSelectElement.h View 1 1 chunk +1 line, -12 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebSearchableFormData.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/web/WebSelectElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
kangil_
review please? :)
7 years, 5 months ago (2013-07-17 01:42:11 UTC) #1
dominicc (has gone to gerrit)
On 2013/07/17 01:42:11, kangil_ wrote: > review please? :) LGTM
7 years, 5 months ago (2013-07-17 01:47:05 UTC) #2
tkent
https://codereview.chromium.org/19488002/diff/1/Source/core/html/HTMLSelectElement.h File Source/core/html/HTMLSelectElement.h (left): https://codereview.chromium.org/19488002/diff/1/Source/core/html/HTMLSelectElement.h#oldcode220 Source/core/html/HTMLSelectElement.h:220: inline const HTMLSelectElement* toHTMLSelectElement(const Node* node) Why do you ...
7 years, 5 months ago (2013-07-17 01:47:55 UTC) #3
tkent
I don't object the removal of isHTMLSelectElement. However the removal of toHTMLSelectElement variants looks unreasonable.
7 years, 5 months ago (2013-07-17 01:53:52 UTC) #4
kangil_
Hi Tamura! I left some questions for clarity. Would you please take a look at ...
7 years, 5 months ago (2013-07-17 02:16:21 UTC) #5
kangil_
https://codereview.chromium.org/19488002/diff/1/Source/core/html/HTMLSelectElement.h File Source/core/html/HTMLSelectElement.h (left): https://codereview.chromium.org/19488002/diff/1/Source/core/html/HTMLSelectElement.h#oldcode226 Source/core/html/HTMLSelectElement.h:226: void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch anyone ...
7 years, 5 months ago (2013-07-17 02:21:46 UTC) #6
tkent
https://codereview.chromium.org/19488002/diff/1/Source/core/html/HTMLSelectElement.h File Source/core/html/HTMLSelectElement.h (left): https://codereview.chromium.org/19488002/diff/1/Source/core/html/HTMLSelectElement.h#oldcode220 Source/core/html/HTMLSelectElement.h:220: inline const HTMLSelectElement* toHTMLSelectElement(const Node* node) On 2013/07/17 02:16:22, ...
7 years, 5 months ago (2013-07-17 03:47:05 UTC) #7
kangil_
Done for comments, thx! :) review please?
7 years, 5 months ago (2013-07-17 04:15:01 UTC) #8
tkent
lgtm
7 years, 5 months ago (2013-07-17 04:32:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kangil.han@samsung.com/19488002/9001
7 years, 5 months ago (2013-07-17 04:32:35 UTC) #10
commit-bot: I haz the power
7 years, 5 months ago (2013-07-17 05:20:31 UTC) #11
Message was sent while issue was closed.
Change committed as 154365

Powered by Google App Engine
This is Rietveld 408576698