Drop unnecessary Node::toInputElement() virtual function
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Oct 2015 03:29:34 +0000 (03:29 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Oct 2015 03:29:34 +0000 (03:29 +0000)
commit4a7063b02e5b7bfb357c128c96c74a9b271558fe
treea4406a0faa5d925714ba3b38eec6da29689066f2
parente6ddc45d4ec012e4f17c5b2105716b96f73bb608
Drop unnecessary Node::toInputElement() virtual function
https://bugs.webkit.org/show_bug.cgi?id=150341

Reviewed by Darin Adler.

Drop unnecessary Node::toInputElement() virtual function and use the
usual is<HTMLInputElement>() / downcast< HTMLInputElement >() instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AXObjectCache.cpp
Source/WebCore/accessibility/AccessibilityNodeObject.cpp
Source/WebCore/css/SelectorChecker.cpp
Source/WebCore/css/SelectorCheckerTestFunctions.h
Source/WebCore/css/StyleResolver.cpp
Source/WebCore/css/StyleResolver.h
Source/WebCore/dom/Node.cpp
Source/WebCore/dom/Node.h
Source/WebCore/editing/TextIterator.cpp
Source/WebCore/html/HTMLInputElement.h
Source/WebCore/html/RadioNodeList.cpp
Source/WebCore/html/shadow/SliderThumbElement.cpp
Source/WebCore/loader/FrameLoader.cpp
Source/WebCore/page/DragController.cpp
Source/WebCore/rendering/RenderButton.cpp
Source/WebCore/rendering/RenderTheme.cpp
Source/WebCore/testing/Internals.cpp