[Webkit-unassigned] [Bug 42098] The WebCore::Document::head() method should be const.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 12 13:36:56 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42098
Jay Civelli <jcivelli at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
--- Comment #3 from Jay Civelli <jcivelli at chromium.org> 2010-07-12 13:36:56 PST ---
I came up across this using the Chromium WebKit API (trying to pass a WebDocument as a const& and then call head() on it which ends up calling Document::head()) and thought the const had somehow been forgotten since body() was const.
You are right, it does not make sense if the constness can be circumvented.
Closing the bug.
--
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