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

Unified Diff: net/spdy/spdy_header_block.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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_framer_test.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_header_block.cc
diff --git a/net/spdy/spdy_header_block.cc b/net/spdy/spdy_header_block.cc
index a51532cf015c5777e21661879dcd86fbfd3e7856..3248117468ac4999d376edb845325c20451e1e99 100644
--- a/net/spdy/spdy_header_block.cc
+++ b/net/spdy/spdy_header_block.cc
@@ -270,7 +270,7 @@ void SpdyHeaderBlock::insert(const SpdyHeaderBlock::value_type& value) {
} else {
DVLOG(1) << "Updating key: " << iter->first
<< " with value: " << value.second;
- auto storage = GetStorage();
+ auto* storage = GetStorage();
iter->second =
HeaderValue(storage, iter->first, storage->Write(value.second));
}
@@ -313,7 +313,7 @@ size_t SpdyHeaderBlock::EstimateMemoryUsage() const {
void SpdyHeaderBlock::AppendHeader(const StringPiece key,
const StringPiece value) {
- auto storage = GetStorage();
+ auto* storage = GetStorage();
auto backed_key = storage->Write(key);
block_.emplace(make_pair(
backed_key, HeaderValue(storage, backed_key, storage->Write(value))));
@@ -382,7 +382,7 @@ size_t Join(char* dst,
if (fragments.empty()) {
return 0;
}
- auto original_dst = dst;
+ auto* original_dst = dst;
auto it = fragments.begin();
memcpy(dst, it->data(), it->size());
dst += it->size();
« no previous file with comments | « net/spdy/spdy_framer_test.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698