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

https://bugs.webkit.org/show_bug.cgi?id=72859

Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-11-21
Reviewed by Eric Seidel.

* Scripts/new-run-webkit-websocketserver:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f06d26c4
2011-11-21 Takashi Toyoshima <toyoshim@chromium.org>
Use Host().port_factory instead of webkitpy.layout_tests.port.factory.
https://bugs.webkit.org/show_bug.cgi?id=72859
Reviewed by Eric Seidel.
* Scripts/new-run-webkit-websocketserver:
2011-11-20 Shinya Kawanaka <shinyak@google.com>
[Chromium] Layout test does not return correct misspelling positions if there are multiple misspelled words.
......@@ -34,8 +34,8 @@ import logging
import optparse
import tempfile
import webkitpy.layout_tests.port.factory as factory
import webkitpy.layout_tests.servers.websocket_server as websocket_server
from webkitpy.common.host import Host
from webkitpy.layout_tests.servers import websocket_server
def main():
......@@ -91,7 +91,8 @@ def main():
if options.pidfile:
kwds['pidfile'] = options.pidfile
port_obj = factory.get(options=options)
host = Host()
port_obj = host.port_factory.get(options=options)
pywebsocket = websocket_server.PyWebSocket(port_obj, options.output_dir, **kwds)
log_level = logging.WARN
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment