Index: content/zygote/zygote_linux.cc |
diff --git a/content/zygote/zygote_linux.cc b/content/zygote/zygote_linux.cc |
index 101ea7f00c32956c8ca438ee601fce70dbed6093..aad56971fad137608fd1c05b0da0db2ebe76acbb 100644 |
--- a/content/zygote/zygote_linux.cc |
+++ b/content/zygote/zygote_linux.cc |
@@ -128,8 +128,7 @@ bool Zygote::UsingSUIDSandbox() const { |
bool Zygote::HandleRequestFromBrowser(int fd) { |
std::vector<int> fds; |
- static const unsigned kMaxMessageLength = 2048; |
- char buf[kMaxMessageLength]; |
+ char buf[kZygoteMaxMessageLength]; |
const ssize_t len = UnixDomainSocket::RecvMsg(fd, buf, sizeof(buf), &fds); |
if (len == 0 || (len == -1 && errno == ECONNRESET)) { |