summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorthakis <thakis@chromium.org>2015-12-31 09:26:06 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-31 17:26:58 +0000
commit29de2c811de5e5fa6eb238bbcd45796907c037bd (patch)
treeac1ea9902b9958b3af28eda50a4301bf56c3ecf5 /net
parent92469c8c4b7da052273dee1a31308663d1dd1e3d (diff)
downloadchromium_src-29de2c811de5e5fa6eb238bbcd45796907c037bd.zip
chromium_src-29de2c811de5e5fa6eb238bbcd45796907c037bd.tar.gz
chromium_src-29de2c811de5e5fa6eb238bbcd45796907c037bd.tar.bz2
Prepare for -Wall for third-party code, -Wextra for chromium_code
This lands patch set 16 of https://codereview.chromium.org/1551753002/ (reviewed there), except for the changes to build/common.gypi and build/config/compiler/BUILD.gn. The changes to these two files are likely to break some bot I don't know about, and I don't want to keep reverting and relanding all these files. So this lands the parts that are hopefully harmless separately. BUG=573250 TBR=thestig Review URL: https://codereview.chromium.org/1557733002 Cr-Commit-Position: refs/heads/master@{#367252}
Diffstat (limited to 'net')
-rw-r--r--net/tools/quic/quic_simple_server_stream_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/quic/quic_simple_server_stream_test.cc b/net/tools/quic/quic_simple_server_stream_test.cc
index 0a301f0..9d8b6e3 100644
--- a/net/tools/quic/quic_simple_server_stream_test.cc
+++ b/net/tools/quic/quic_simple_server_stream_test.cc
@@ -65,7 +65,7 @@ class QuicSimpleServerStreamPeer : public QuicSimpleServerStream {
return stream->body_;
}
- static const int content_length(QuicSimpleServerStream* stream) {
+ static int content_length(QuicSimpleServerStream* stream) {
return stream->content_length_;
}