Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1423)

Unified Diff: chrome/browser/devtools/device/port_forwarding_controller.cc

Issue 2624583002: Remove redundant c_str() calls. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/devtools/device/port_forwarding_controller.cc
diff --git a/chrome/browser/devtools/device/port_forwarding_controller.cc b/chrome/browser/devtools/device/port_forwarding_controller.cc
index 35587ac62e3abfc99998252b2e6bf0ad235ca1c6..86dda9f4e4512bf2c51ccc400b65c58fdfbc0992 100644
--- a/chrome/browser/devtools/device/port_forwarding_controller.cc
+++ b/chrome/browser/devtools/device/port_forwarding_controller.cc
@@ -421,7 +421,7 @@ void PortForwardingController::Connection::OnFrameRead(
std::string destination_host = tokens[0];
device_->OpenSocket(
- connection_id.c_str(),
+ connection_id,
base::Bind(&SocketTunnel::StartTunnel,
destination_host,
destination_port));

Powered by Google App Engine
This is Rietveld 408576698