17 Aug
2010
17 Aug
'10
1:47 p.m.
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