Index: net/base/net_util.cc |
=================================================================== |
--- net/base/net_util.cc (revision 114929) |
+++ net/base/net_util.cc (working copy) |
@@ -1985,8 +1985,8 @@ |
if (i == size || allowed_ports[i] == kComma) { |
if (i > last) { |
int port; |
- base::StringToInt(base::StringPiece(allowed_ports.begin() + last, |
- allowed_ports.begin() + i), |
+ base::StringToInt(allowed_ports.begin() + last, |
+ allowed_ports.begin() + i, |
&port); |
ports.insert(port); |
} |