On Jun 19, 2013, at 7:37 PM, Timothy Hatcher <[email protected]> wrote:

> What about?
> 
> StyleResolver* existingStyleResolver()
> StyleResolver& styleResolver()

I like it.

> 
> — Timothy Hatcher
> 
> 
> On Jun 19, 2013, at 11:49 AM, Balazs Kelemen <[email protected]> wrote:
> 
>> For me optional seems very misleading and generally different prefixes 
>> suggests that those objects are not the same.
>> Maybe IfExists does not sound nicely but at least it's clear. I would choose 
>> to have a pointer version with IfExists and a reference version which is a 
>> noun, like:
>> 
>> StyleResolver* styleResolverIfExists()
>> StyleResolver& styleResolver()
>> 
>> Br,
>> -Balazs
> 
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> https://lists.webkit.org/mailman/listinfo/webkit-dev


_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to