[Webkit-unassigned] [Bug 90954] [EFL] Add const to the parameter of getters in ewk_security_origin

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 12 14:16:13 PDT 2012


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





--- Comment #21 from Thiago Marcos P. Santos <tmpsantos at gmail.com>  2012-07-12 14:16:12 PST ---
IMO the patch is fine if you can explain me why remove the lazy initialization that can be a performance improvement in favor of using const.

When I wrote the API, I say that it is mostly used for manipulating database (i.e. ewk_security_origin_web_database_get_all) These getters are seldom used.

Finally, if using this const is really necessary, why not a const_cast/mutable/etc?

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