* html/HTMLCollection.h:
(HTMLCollection):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::properties):
* html/HTMLElement.h:
(HTMLElement):
* html/HTMLPropertiesCollection.cpp:
(WebCore::HTMLPropertiesCollection::HTMLPropertiesCollection):
* html/HTMLPropertiesCollection.h:
(HTMLPropertiesCollection):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@122155
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-07-09 Ryosuke Niwa <rniwa@webkit.org>
+
+ Build fix after r122115 and some cleanups.
+
+ * html/HTMLCollection.h:
+ (HTMLCollection):
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::properties):
+ * html/HTMLElement.h:
+ (HTMLElement):
+ * html/HTMLPropertiesCollection.cpp:
+ (WebCore::HTMLPropertiesCollection::HTMLPropertiesCollection):
+ * html/HTMLPropertiesCollection.h:
+ (HTMLPropertiesCollection):
+
2012-07-09 Dean Jackson <dino@apple.com>
Tiled drawing means some elements can disappear behind the page
PassRefPtr<NodeList> tags(const String&);
// Non-DOM API
- bool hasNamedItem(const AtomicString& name) const;
+ virtual bool hasNamedItem(const AtomicString& name) const;
void namedItems(const AtomicString& name, Vector<RefPtr<Node> >&) const;
bool isEmpty() const
{
setTextContent(value, ec);
}
-HTMLPropertiesCollection* HTMLElement::properties()
+PassRefPtr<HTMLPropertiesCollection> HTMLElement::properties()
{
return static_cast<HTMLPropertiesCollection*>(ensureCachedHTMLCollection(ItemProperties).get());
}
#if ENABLE(MICRODATA)
void setItemValue(const String&, ExceptionCode&);
PassRefPtr<MicroDataItemValue> itemValue() const;
- HTMLPropertiesCollection* properties();
+ PassRefPtr<HTMLPropertiesCollection> properties();
#endif
#ifndef NDEBUG
HTMLPropertiesCollection::HTMLPropertiesCollection(Node* itemNode)
: HTMLCollection(itemNode, ItemProperties)
{
+ m_cache.clear();
}
HTMLPropertiesCollection::~HTMLPropertiesCollection()
PassRefPtr<DOMStringList> names() const;
- PassRefPtr<NodeList> namedItem(const String&) const;
- bool hasNamedItem(const AtomicString&) const;
+ virtual PassRefPtr<NodeList> namedItem(const String&) const OVERRIDE;
+ virtual bool hasNamedItem(const AtomicString&) const OVERRIDE;
private:
HTMLPropertiesCollection(Node*);