summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/devtools_http_protocol_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/debugger/devtools_http_protocol_handler.cc')
-rw-r--r--chrome/browser/debugger/devtools_http_protocol_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/devtools_http_protocol_handler.cc b/chrome/browser/debugger/devtools_http_protocol_handler.cc
index 28efa9c..8c5b0ad0 100644
--- a/chrome/browser/debugger/devtools_http_protocol_handler.cc
+++ b/chrome/browser/debugger/devtools_http_protocol_handler.cc
@@ -7,7 +7,7 @@
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/message_loop_proxy.h"
-#include "base/string_util.h"
+#include "base/string_number_conversions.h"
#include "base/thread.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_list.h"
@@ -218,7 +218,7 @@ void DevToolsHttpProtocolHandler::OnWebSocketRequestUI(
}
std::string page_id = request.path.substr(prefix.length());
int id = 0;
- if (!StringToInt(page_id, &id)) {
+ if (!base::StringToInt(page_id, &id)) {
Send500(socket, "Invalid page id: " + page_id);
return;
}