Index: chrome/test/chromedriver/chrome_launcher.cc |
diff --git a/chrome/test/chromedriver/chrome_launcher.cc b/chrome/test/chromedriver/chrome_launcher.cc |
index be302dc2a2ac5e7f074d27179092456b1c1b7a14..57bec2613fbcf9fd78e9aaa83b33122448ce5bf1 100644 |
--- a/chrome/test/chromedriver/chrome_launcher.cc |
+++ b/chrome/test/chromedriver/chrome_launcher.cc |
@@ -135,7 +135,7 @@ Status PrepareCommandLine(uint16 port, |
switches.SetUnparsedSwitch(common_switch); |
for (const auto& desktop_switch : kDesktopSwitches) |
switches.SetUnparsedSwitch(desktop_switch); |
- switches.SetSwitch("remote-debugging-port", base::IntToString(port)); |
+ switches.SetSwitch("remote-debugging-port", base::UintToString(port)); |
for (const auto& excluded_switch : capabilities.exclude_switches) { |
switches.RemoveSwitch(excluded_switch); |
} |