[Webkit-unassigned] [Bug 90936] [EFL] Add a API for getting security origin string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 10 23:01:19 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90936





--- Comment #4 from Christophe Dumez <christophe.dumez at intel.com>  2012-07-10 23:01:19 PST ---
(From update of attachment 151594)
View in context: https://bugs.webkit.org/attachment.cgi?id=151594&action=review

>>> Source/WebKit/efl/ewk/ewk_security_origin.h:84
>>> +EAPI const char          *ewk_security_origin_string_get(Ewk_Security_Origin *o);
>> 
>> Argument should be const.
> 
> It can't be.
> Argument can be changed in the ewk_security_origin_string_get.

Sure it can. It is a getter so the argument MUST be const. I believe you're having trouble because of the estringshare optimization. For that, just use const_cast.

-- 
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