Make run-benchmark script supports 'config' key in test plan.
[WebKit-https.git] / Tools / Scripts / webkitpy / benchmark_runner / browser_driver / osx_safari_driver.py
index d466b96f541ee6f17f27e63ef79b6cefbeb85112..8308c9813634b4ebdeef3bbd1f49bd71f440a327 100644 (file)
@@ -17,9 +17,9 @@ class OSXSafariDriver(OSXBrowserDriver):
     process_name = 'Safari'
     browser_name = 'safari'
 
-    def prepare_env(self, device_id):
+    def prepare_env(self, config):
         self._safari_process = None
-        super(OSXSafariDriver, self).prepare_env(device_id)
+        super(OSXSafariDriver, self).prepare_env(config)
         force_remove(os.path.join(os.path.expanduser('~'), 'Library/Saved Application State/com.apple.Safari.savedState'))
         force_remove(os.path.join(os.path.expanduser('~'), 'Library/Safari/LastSession.plist'))
         self._maximize_window()