Index: chrome/test/chromedriver/capabilities.cc |
diff --git a/chrome/test/chromedriver/capabilities.cc b/chrome/test/chromedriver/capabilities.cc |
index 8479a844c512fb2b4fdc78e604dafd7947c9c3c9..0d2fb8e9a92a88ed5de556ca7398014b8ac32f27 100644 |
--- a/chrome/test/chromedriver/capabilities.cc |
+++ b/chrome/test/chromedriver/capabilities.cc |
@@ -395,7 +395,7 @@ std::string Switches::ToString() const { |
std::string value = GetSwitchValue(iter->first); |
if (value.length()) { |
if (value.find(' ') != std::string::npos) |
- value = base::GetDoubleQuotedJson(value); |
+ value = base::GetQuotedJSONString(value); |
str += "=" + value; |
} |
++iter; |