Bug 74235

Summary: [Microdata] Fix compilation error in MICRODATA enabled build.
Product: WebKit Reporter: Arko Saha <arko>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: rniwa, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Arko Saha 2011-12-10 00:11:22 PST
MICRODATA enabled builds are now failing with following error,

  CXX    Source/WebCore/dom/libWebCore_la-Document.lo
/bin/mkdir -p ./.deps/DerivedSources
../../Source/WebCore/dom/Document.cpp: In member function ‘WTF::PassRefPtr<WebCore::NodeList> WebCore::Document::getItems(const WTF::String&)’:
../../Source/WebCore/dom/Document.cpp:5213:70: error: no matching function for call to ‘WebCore::NodeRareData::ensureNodeLists()’
../../Source/WebCore/dom/NodeRareData.h:130:24: note: candidate is: WebCore::NodeListsNodeData* WebCore::NodeRareData::ensureNodeLists(WebCore::Node*)
make[1]: *** [Source/WebCore/dom/libWebCore_la-Document.lo] Error 1
make[1]: Leaving directory `/home/arko/Workstation/WebKit/WebKitBuild/Release'
make: *** [all] Error 2

Failed to build WebKit using 'make'!
Comment 1 Arko Saha 2011-12-10 00:16:00 PST
This error is due to the changes committed in changeset: http://trac.webkit.org/changeset/102208. The signature of 'WebCore::NodeRareData::ensureNodeLists()' is changed. Now it takes Node as first parameter, hence resulting the error.
Comment 2 Arko Saha 2011-12-10 00:20:15 PST
Created attachment 118686 [details]
Patch
Comment 3 WebKit Review Bot 2011-12-10 10:46:45 PST
Comment on attachment 118686 [details]
Patch

Clearing flags on attachment: 118686

Committed r102523: <http://trac.webkit.org/changeset/102523>
Comment 4 WebKit Review Bot 2011-12-10 10:46:49 PST
All reviewed patches have been landed.  Closing bug.