webkit: workaround incompatible operand types

Works around the following:
error: incompatible operand types ('WebCore::RenderStyle *' and 'bool')

Change-Id: Ic87e958d9bc06ce0a3ae203c8b4812d0e3a2aaef