File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ index f608d678505e..882be746310d 100644
88 void reportCallWithArgument(ConsoleAPIType type, const String16& message) {
99- auto arguments =
1010- v8::to_array<v8::Local<v8::Value>>({toV8String(m_isolate, message)});
11- + auto arguments =
12- + v8::to_array<v8::Local<v8::Value>>{{ toV8String(m_isolate, message)} };
11+ + std::array<v8::Local<v8::Value>, 1> arguments =
12+ + { toV8String(m_isolate, message)};
1313 reportCall(type, arguments);
1414 }
1515
@@ -19,8 +19,8 @@ index f608d678505e..882be746310d 100644
1919 }
2020- auto arguments =
2121- v8::to_array<v8::Local<v8::Value>>({toV8String(m_isolate, message)});
22- + auto arguments =
23- + v8::to_array<v8::Local<v8::Value>>{{ toV8String(m_isolate, message)} };
22+ + std::array<v8::Local<v8::Value>, 1> arguments =
23+ + { toV8String(m_isolate, message)};
2424 reportCall(ConsoleAPIType::kWarning, arguments);
2525 }
2626
You can’t perform that action at this time.
0 commit comments