Bug 74235 - [Microdata] Fix compilation error in MICRODATA enabled build.
Summary: [Microdata] Fix compilation error in MICRODATA enabled build.
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-12-10 00:11 PST by Arko Saha
Modified: 2011-12-10 10:46 PST (History)
2 users (show)

See Also:

Patch (1.27 KB, patch)
2011-12-10 00:20 PST, Arko Saha
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 3 WebKit Review Bot 2011-12-10 10:46:45 PST
Comment on attachment 118686 [details]

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.