Use Host().port_factory instead of webkitpy.layout_tests.port.factory.