Title: [102523] trunk/Source/WebCore
Revision
102523
Author
[email protected]
Date
2011-12-10 10:46:31 -0800 (Sat, 10 Dec 2011)

Log Message

Microdata: Fix compilation error in MICRODATA enabled build.
https://bugs.webkit.org/show_bug.cgi?id=74235

Patch by Arko Saha <[email protected]> on 2011-12-10
Reviewed by Andreas Kling.

* dom/Document.cpp:
(WebCore::Document::getItems):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (102522 => 102523)


--- trunk/Source/WebCore/ChangeLog	2011-12-10 17:13:07 UTC (rev 102522)
+++ trunk/Source/WebCore/ChangeLog	2011-12-10 18:46:31 UTC (rev 102523)
@@ -1,3 +1,13 @@
+2011-12-10   Arko Saha  <[email protected]>
+
+        Microdata: Fix compilation error in MICRODATA enabled build.
+        https://bugs.webkit.org/show_bug.cgi?id=74235
+
+        Reviewed by Andreas Kling.
+
+        * dom/Document.cpp:
+        (WebCore::Document::getItems):
+
 2011-12-10  Jarred Nicholls  <[email protected]>
 
         [V8] Remove old ArrayBuffer guards from V8XMLHttpRequestCustom.cpp

Modified: trunk/Source/WebCore/dom/Document.cpp (102522 => 102523)


--- trunk/Source/WebCore/dom/Document.cpp	2011-12-10 17:13:07 UTC (rev 102522)
+++ trunk/Source/WebCore/dom/Document.cpp	2011-12-10 18:46:31 UTC (rev 102523)
@@ -5210,7 +5210,7 @@
 #if ENABLE(MICRODATA)
 PassRefPtr<NodeList> Document::getItems(const String& typeNames)
 {
-    NodeListsNodeData* nodeLists = ensureRareData()->ensureNodeLists();
+    NodeListsNodeData* nodeLists = ensureRareData()->ensureNodeLists(this);
 
     // Since documet.getItem() is allowed for microdata, typeNames will be null string.
     // In this case we need to create an unique string identifier to map such request in the cache.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to