File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,21 +6,21 @@ index f608d678505e..882be746310d 100644
66 }
77
88 void reportCallWithArgument(ConsoleAPIType type, const String16& message) {
9- - std::vector<v8::Local<v8::Value>> arguments(1,
10- - toV8String(m_isolate, message));
9+ - auto arguments =
10+ - v8::to_array<v8::Local<v8::Value>>({ toV8String(m_isolate, message)} );
1111+ auto arguments =
12- + v8::to_array<v8::Local<v8::Value >>({toV8String(m_isolate, message)});
12+ + v8::to_array<v8::Local<v8::String >>({toV8String(m_isolate, message)});
1313 reportCall(type, arguments);
1414 }
1515
1616@@ -116,8 +116,8 @@ class ConsoleHelper {
1717 id)) {
1818 return;
1919 }
20- - std::vector<v8::Local<v8::Value>> arguments(1,
21- - toV8String(m_isolate, message));
20+ - auto arguments =
21+ - v8::to_array<v8::Local<v8::Value>>({ toV8String(m_isolate, message)} );
2222+ auto arguments =
23- + v8::to_array<v8::Local<v8::Value >>({toV8String(m_isolate, message)});
23+ + v8::to_array<v8::Local<v8::String >>({toV8String(m_isolate, message)});
2424 reportCall(ConsoleAPIType::kWarning, arguments);
2525 }
2626
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ RUN patch -p0 -i /tmp/gcc-8.diff
3939
4040# Revert https://github.com/v8/v8/commit/4bd36a1ac2f
4141COPY 4bd36a1ac2f.diff /tmp/4bd36a1ac2f.diff
42- RUN patch -d /v8 -Rp1 -i /tmp/4bd36a1ac2f.diff
42+ RUN patch -d /v8 -p1 -i /tmp/4bd36a1ac2f.diff
4343
4444RUN \
4545 echo "checkout_google_benchmark = false" > /v8/build/config/gclient_args.gni
You can’t perform that action at this time.
0 commit comments