On 16/08/2010, at 11:35 PM, Darin Fisher wrote:

> > Wouldn't it be easier to allow null clients than to have these EmptyClient 
> > implementations?
> 
> Dean
> 
> 
> I think that'd be a lot of null checks.  It seems like it could add a fair 
> bit of code throughout WebCore, and folks would have to be careful not to 
> forget any null checks.
> 

Fair enough. I was just trying to avoid the branching before the Page is 
constructed, but you're right. (If I can move DeviceMotion to Document, it 
might not need anything on Page anyway)

Dean

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

Reply via email to