[webkit-dev] null clients of Page
dino at apple.com
Tue Aug 17 06:47:55 PDT 2010
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?
> 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)
More information about the webkit-dev