Index: src/log-utils.cc |
diff --git a/src/log-utils.cc b/src/log-utils.cc |
index 9f1f8e7f7be818c9dcffe96fe3fd0a75364cef32..4598b81199c2ee3f4a96e18dfd30a1d16b2ba50f 100644 |
--- a/src/log-utils.cc |
+++ b/src/log-utils.cc |
@@ -112,7 +112,7 @@ void Log::MessageBuilder::Append(const char* format, ...) { |
void Log::MessageBuilder::AppendVA(const char* format, va_list args) { |
Vector<char> buf(log_->message_buffer_ + pos_, |
Log::kMessageBufferSize - pos_); |
- int result = v8::internal::OS::VSNPrintF(buf, format, args); |
+ int result = v8::internal::VSNPrintF(buf, format, args); |
// Result is -1 if output was truncated. |
if (result >= 0) { |
@@ -211,7 +211,7 @@ void Log::MessageBuilder::AppendStringPart(const char* str, int len) { |
} |
Vector<char> buf(log_->message_buffer_ + pos_, |
Log::kMessageBufferSize - pos_); |
- OS::StrNCpy(buf, str, len); |
+ StrNCpy(buf, str, len); |
pos_ += len; |
ASSERT(pos_ <= Log::kMessageBufferSize); |
} |