 Chromium Code Reviews
 Chromium Code Reviews Issue 799008:
  Make the assumption on the minimum buffer size for GetLogLines explicit.  (Closed)
    
  
    Issue 799008:
  Make the assumption on the minimum buffer size for GetLogLines explicit.  (Closed) 
  | Index: src/log-utils.h | 
| diff --git a/src/log-utils.h b/src/log-utils.h | 
| index b769e9046f21d12b0ec49a040fd63253350e8811..8889f1b77a30b17f9e7ae3802a2ffeeb350c71e9 100644 | 
| --- a/src/log-utils.h | 
| +++ b/src/log-utils.h | 
| @@ -115,7 +115,7 @@ class Log : public AllStatic { | 
| } | 
| // Size of buffer used for formatting log messages. | 
| - static const int kMessageBufferSize = 2048; | 
| + static const int kMessageBufferSize = v8::V8::kMinimumSizeForLogLinesBuffer; | 
| private: | 
| typedef int (*WritePtr)(const char* msg, int length); |