Title: [122155] trunk/Source/WebCore
- Revision
- 122155
- Author
- [email protected]
- Date
- 2012-07-09 13:52:34 -0700 (Mon, 09 Jul 2012)
Log Message
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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (122154 => 122155)
--- trunk/Source/WebCore/ChangeLog 2012-07-09 20:46:29 UTC (rev 122154)
+++ trunk/Source/WebCore/ChangeLog 2012-07-09 20:52:34 UTC (rev 122155)
@@ -1,3 +1,18 @@
+2012-07-09 Ryosuke Niwa <[email protected]>
+
+ 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 <[email protected]>
Tiled drawing means some elements can disappear behind the page
Modified: trunk/Source/WebCore/html/HTMLCollection.h (122154 => 122155)
--- trunk/Source/WebCore/html/HTMLCollection.h 2012-07-09 20:46:29 UTC (rev 122154)
+++ trunk/Source/WebCore/html/HTMLCollection.h 2012-07-09 20:52:34 UTC (rev 122155)
@@ -113,7 +113,7 @@
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
{
Modified: trunk/Source/WebCore/html/HTMLElement.cpp (122154 => 122155)
--- trunk/Source/WebCore/html/HTMLElement.cpp 2012-07-09 20:46:29 UTC (rev 122154)
+++ trunk/Source/WebCore/html/HTMLElement.cpp 2012-07-09 20:52:34 UTC (rev 122155)
@@ -989,7 +989,7 @@
setTextContent(value, ec);
}
-HTMLPropertiesCollection* HTMLElement::properties()
+PassRefPtr<HTMLPropertiesCollection> HTMLElement::properties()
{
return static_cast<HTMLPropertiesCollection*>(ensureCachedHTMLCollection(ItemProperties).get());
}
Modified: trunk/Source/WebCore/html/HTMLElement.h (122154 => 122155)
--- trunk/Source/WebCore/html/HTMLElement.h 2012-07-09 20:46:29 UTC (rev 122154)
+++ trunk/Source/WebCore/html/HTMLElement.h 2012-07-09 20:52:34 UTC (rev 122155)
@@ -97,7 +97,7 @@
#if ENABLE(MICRODATA)
void setItemValue(const String&, ExceptionCode&);
PassRefPtr<MicroDataItemValue> itemValue() const;
- HTMLPropertiesCollection* properties();
+ PassRefPtr<HTMLPropertiesCollection> properties();
#endif
#ifndef NDEBUG
Modified: trunk/Source/WebCore/html/HTMLPropertiesCollection.cpp (122154 => 122155)
--- trunk/Source/WebCore/html/HTMLPropertiesCollection.cpp 2012-07-09 20:46:29 UTC (rev 122154)
+++ trunk/Source/WebCore/html/HTMLPropertiesCollection.cpp 2012-07-09 20:52:34 UTC (rev 122155)
@@ -53,6 +53,7 @@
HTMLPropertiesCollection::HTMLPropertiesCollection(Node* itemNode)
: HTMLCollection(itemNode, ItemProperties)
{
+ m_cache.clear();
}
HTMLPropertiesCollection::~HTMLPropertiesCollection()
Modified: trunk/Source/WebCore/html/HTMLPropertiesCollection.h (122154 => 122155)
--- trunk/Source/WebCore/html/HTMLPropertiesCollection.h 2012-07-09 20:46:29 UTC (rev 122154)
+++ trunk/Source/WebCore/html/HTMLPropertiesCollection.h 2012-07-09 20:52:34 UTC (rev 122155)
@@ -51,8 +51,8 @@
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*);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes