[Webkit-unassigned] [Bug 27922] Strict equality of MimeType Host objects is not respected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 1 15:13:26 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27922
Sam Weinig <sam at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
--- Comment #1 from Sam Weinig <sam at webkit.org> 2009-08-01 15:13:26 PDT ---
Yeah, this is quite unfortunate. We create a new MimeType for every invocation
of the item method.
PassRefPtr<MimeType> MimeTypeArray::item(unsigned index)
{
PluginData* data = getPluginData();
if (!data)
return 0;
const Vector<MimeClassInfo*>& mimes = data->mimes();
if (index >= mimes.size())
return 0;
return MimeType::create(data, index).get();
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list