Commit 3ab8e7ed authored by nednguyen's avatar nednguyen Committed by Commit bot

[tools/perf] Initialize network_controller_backend in dual_browser_story_shared_state

BUG=catapult:#2584
TBR=perejzu@chromium.org

Review-Url: https://codereview.chromium.org/2265713002
Cr-Commit-Position: refs/heads/master@{#413335}
parent 53a9df48
......@@ -136,6 +136,10 @@ class MultiBrowserSharedState(story_module.SharedState):
if self._platform is None:
self._platform = possible_browser.platform
# TODO(nedn): Remove the if condition once
# https://codereview.chromium.org/2265593003/ is rolled to Chromium tree.
if hasattr(self._platform.network_controller, 'InitializeIfNeeded'):
self._platform.network_controller.InitializeIfNeeded()
else:
assert self._platform is possible_browser.platform
self._possible_browsers[browser_type] = (possible_browser, options)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment