diff --git a/tools/wpt/browser.py b/tools/wpt/browser.py index f9688122389eac..fdd2a62b95e1fd 100644 --- a/tools/wpt/browser.py +++ b/tools/wpt/browser.py @@ -607,7 +607,7 @@ def _get_pinned_chromium_revision(self): """Returns the pinned Chromium revision number.""" return get("https://storage.googleapis.com/wpt-versions/pinned_chromium_revision_NEW").text.strip() - def _get_chromium_revision(self, filename, version=None): + def _get_chromium_revision(self, filename=None, version=None): """Format a Chromium Snapshots URL to download a browser component.""" # If a specific version is passed as an argument, we will use it.