Index: test/cctest/parsing/test-scanner-streams.cc |
diff --git a/test/cctest/parsing/test-scanner-streams.cc b/test/cctest/parsing/test-scanner-streams.cc |
index fffd1200f20621d1aba7469e1d06bfa3b61bb26a..0e9f3dc502466e742a76b149c4e2badfdab55b13 100644 |
--- a/test/cctest/parsing/test-scanner-streams.cc |
+++ b/test/cctest/parsing/test-scanner-streams.cc |
@@ -27,7 +27,7 @@ class ChunkSource : public v8::ScriptCompiler::ExternalSourceStream { |
// If extra_chunky, we'll use increasingly large chunk sizes. |
// If not, we'll have a single chunk of full length. |
size_t chunk_size = extra_chunky ? 1 : len; |
- for (size_t i = 0; i < len; i += chunk_size, chunk_size *= 2) { |
+ for (size_t i = 0; i < len; i += chunk_size, chunk_size++) { |
chunks_.push_back({data + i, i::Min(chunk_size, len - i)}); |
} |
chunks_.push_back({nullptr, 0}); |