| Index: third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
|
| index 24f262817dedc1e32ea86bf39fcfadb17d5b8298..f7e142deeadbf36ecffd3c78b02e4da62c952413 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
|
| @@ -98,7 +98,7 @@ public:
|
|
|
| void reportCallWithArgument(ConsoleAPIType type, const String16& message)
|
| {
|
| - std::vector<v8::Local<v8::Value>> arguments = { toV8String(m_isolate, message) };
|
| + std::vector<v8::Local<v8::Value>> arguments(1, toV8String(m_isolate, message));
|
| reportCall(type, arguments);
|
| }
|
|
|
| @@ -116,7 +116,7 @@ public:
|
| {
|
| if (checkAndSetPrivateFlagOnConsole(id, false))
|
| return;
|
| - std::vector<v8::Local<v8::Value>> arguments = { toV8String(m_isolate, message) };
|
| + std::vector<v8::Local<v8::Value>> arguments(1, toV8String(m_isolate, message));
|
| reportCall(ConsoleAPIType::kWarning, arguments);
|
| }
|
|
|
|
|