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

Unified Diff: third_party/WebKit/Tools/Scripts/webkit-patch

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
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkit-patch
diff --git a/third_party/WebKit/Tools/Scripts/webkit-patch b/third_party/WebKit/Tools/Scripts/webkit-patch
index 43080e11021ca4d7231a058c8abf6c82823615c5..34f1304ea9470650c413273e8bb4e32639f330f4 100755
--- a/third_party/WebKit/Tools/Scripts/webkit-patch
+++ b/third_party/WebKit/Tools/Scripts/webkit-patch
@@ -30,10 +30,11 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+import codecs
import logging
+import os
import signal
import sys
-import codecs
import webkitpy.common.version_check
@@ -77,7 +78,7 @@ def main():
else:
logging_level = logging.INFO
configure_logging(logging_level=logging_level)
- WebKitPatch().main()
+ WebKitPatch(os.path.abspath(__file__)).main()
if __name__ == "__main__":
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/tool/webkit_patch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698