Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / RadioNodeList.h
index fca044d..5e4f1a1 100644 (file)
@@ -33,6 +33,7 @@
 namespace blink {
 
 class RadioNodeList FINAL : public LiveNodeList {
+    DEFINE_WRAPPERTYPEINFO();
 public:
     static PassRefPtrWillBeRawPtr<RadioNodeList> create(ContainerNode& ownerNode, CollectionType type, const AtomicString& name)
     {
@@ -51,13 +52,13 @@ private:
     bool checkElementMatchesRadioNodeListFilter(const Element&) const;
 
     bool matchesByIdOrName(const Element&) const;
+    bool shouldOnlyMatchImgElements() const { return type() == RadioImgNodeListType; }
 
     virtual bool elementMatches(const Element&) const OVERRIDE;
 
     AtomicString m_name;
-    const bool m_onlyMatchImgElements;
 };
 
-} // namespace
+} // namespace blink
 
-#endif
+#endif // RadioNodeList_h