On Jun 18, 2013, at 7:11 PM, Darin Adler <[email protected]> wrote:
> On Jun 18, 2013, at 7:05 PM, Ryosuke Niwa <[email protected]> wrote:
>
>> Why don't we call it requireStyleResolver() instead?
>
> I’m warming to this idea. Maybe we can use “require” as a term of art,
> analogous to the way we use “create”, to mean “create if not already created”.
Since the fact that it returns a reference implies that it must create
something if necessary, the “required” part of the name seems redundant. Why
not just
StyleResolver& styleResolver()
requireStyleResolver() sounds like it would return a bool.
Simon
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev