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

Unified Diff: net/websockets/websocket_net_log_params.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 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
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/websockets/websocket_net_log_params_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_net_log_params.cc
diff --git a/net/websockets/websocket_net_log_params.cc b/net/websockets/websocket_net_log_params.cc
index 53b46c84ee55a7668624b8e0b4639d15be23f5c5..7def88d93dfc1854dc4b41a05cf614b43a7bf81f 100644
--- a/net/websockets/websocket_net_log_params.cc
+++ b/net/websockets/websocket_net_log_params.cc
@@ -26,7 +26,7 @@ Value* NetLogWebSocketHandshakeParameter::ToValue() const {
pos += 2;
last = pos;
- headers->Append(new StringValue(entry));
+ headers->Append(base::StringValue::New(entry));
if (entry.empty()) {
// Dump WebSocket key3.
@@ -34,7 +34,7 @@ Value* NetLogWebSocketHandshakeParameter::ToValue() const {
for (; pos < headers_size; ++pos) {
key += base::StringPrintf("\\x%02x", headers_[pos] & 0xff);
}
- headers->Append(new StringValue(key));
+ headers->Append(base::StringValue::New(key));
break;
}
} else {
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/websockets/websocket_net_log_params_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698