Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1434)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/mock_tool.py

Issue 2131013003: Remove dead code webkitpy.common.config.ports_mock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/common/config/ports_mock.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/mock_tool.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/mock_tool.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/mock_tool.py
index 459c39141f8ab3eaf2020f62e2c836db53d2820d..44cd6a2c78ae76d9bbbd35db819fdb81f7b11201 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/mock_tool.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/mock_tool.py
@@ -28,9 +28,6 @@
from webkitpy.common.host_mock import MockHost
-# FIXME: Old-style "Ports" need to die and be replaced by modern layout_tests.port which needs to move to common.
-from webkitpy.common.config.ports_mock import MockPort
-
# FIXME: We should just replace this with optparse.Values(default=kwargs)
class MockOptions(object):
@@ -60,10 +57,5 @@ class MockTool(MockHost):
def __init__(self, *args, **kwargs):
MockHost.__init__(self, *args, **kwargs)
- self._deprecated_port = MockPort()
-
- def deprecated_port(self):
- return self._deprecated_port
-
def path(self):
return "echo"
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/common/config/ports_mock.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698