external/webkit/WebCore/page/ObjectCollection.cpp: In member function 'unsigned int WebCore::ObjectCollection::length() const':
external/webkit/WebCore/page/ObjectCollection.cpp:50: error: passing 'const WebCore::ObjectCollection' as 'this' argument of 'void WebCore::ObjectCollection::append(WTF::PassRefPtr<WebCore::IpObject>)' discards qualifiers
一般情况下是const给搞坏的。
在 IpObject* item(unsigned index) const;这种函数中如果进行数据操作会造成这种错误,就是在const函数不要进行数据改动操作。