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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py

Issue 2453513002: Change default behavior of --seed to be unix timestamp (Closed)
Patch Set: Address CL feedback from dpranke Created 4 years, 2 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/common/system/systemhost.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py
index 01f986278676bec7385065fc31a453fd3acee160..0f92c76efc56e383e70a363fb2b6f9223eeb5f3c 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py
@@ -29,6 +29,7 @@
import os
import platform
import sys
+import time
from webkitpy.common.system import executive, filesystem, platforminfo, user, workspace
@@ -55,3 +56,6 @@ class SystemHost(object):
def exit(self, returncode):
sys.exit(returncode)
+
+ def time(self):
+ return time.time()

Powered by Google App Engine
This is Rietveld 408576698