Index: tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py |
diff --git a/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py b/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py |
index 77b28fc25fa7c8c2aa58c44c7e796207a6d5e5b7..d4b5c5549ae80445e96bc8d8b0dc28d6d87f2114 100644 |
--- a/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py |
+++ b/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py |
@@ -22,16 +22,11 @@ class CrOSBrowserBackend(chrome_browser_backend.ChromeBrowserBackend): |
supports_extensions=not is_guest, |
browser_options=browser_options, |
output_profile_path=None, extensions_to_load=extensions_to_load) |
- |
+ assert browser_options.IsCrosBrowserOptions() |
# Initialize fields so that an explosion during init doesn't break in Close. |
self._cri = cri |
self._is_guest = is_guest |
self._forwarder = None |
- |
- from telemetry.core.backends.chrome import chrome_browser_options |
- assert isinstance(browser_options, |
- chrome_browser_options.CrosBrowserOptions) |
- |
self.wpr_port_pairs = forwarders.PortPairs( |
http=forwarders.PortPair(self.wpr_port_pairs.http.local_port, |
self.GetRemotePort( |