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

Unified Diff: net/http/http_response_body_drainer_unittest.cc

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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: net/http/http_response_body_drainer_unittest.cc
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc
index 371e9a76f69008e64081d78ef939aed5489a374a..8cce583021f5911a560d16b2cac97263daff0c10 100644
--- a/net/http/http_response_body_drainer_unittest.cc
+++ b/net/http/http_response_body_drainer_unittest.cc
@@ -26,9 +26,9 @@ namespace net {
namespace {
const int kMagicChunkSize = 1024;
-COMPILE_ASSERT(
- (HttpResponseBodyDrainer::kDrainBodyBufferSize % kMagicChunkSize) == 0,
- chunk_size_needs_to_divide_evenly_into_buffer_size);
+static_assert((HttpResponseBodyDrainer::kDrainBodyBufferSize %
+ kMagicChunkSize) == 0,
+ "chunk size needs to divide evenly into buffer size");
class CloseResultWaiter {
public:

Powered by Google App Engine
This is Rietveld 408576698