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

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

Issue 2137013004: Re-add the path() method of WebKitPatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update unit test. 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch.py
index 100650c311396e8fb7da3bea9ad8d8db9084c88f..6a1c1e844b56150f8f5e41dcc9b92842dad452ea 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch.py
@@ -74,8 +74,9 @@ class WebKitPatch(Host):
help="Directory to look at for changed files"),
]
- def __init__(self):
+ def __init__(self, path):
super(WebKitPatch, self).__init__()
+ self._path = path
self.commands = [
AnalyzeBaselines(),
AutoRebaseline(),
@@ -125,6 +126,9 @@ class WebKitPatch(Host):
result = command.check_arguments_and_execute(options, args, self)
return result
+ def path(self):
+ return self._path
+
@staticmethod
def _split_command_name_from_args(args):
# Assume the first argument which doesn't start with "-" is the command name.
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkit-patch ('k') | third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698