Skip to content

Commit 5d60adf

Browse files
targosBridgeAR
authored andcommitted
deps: patch V8 to 7.7.299.11
Refs: v8/v8@7.7.299.10...7.7.299.11 PR-URL: #29628 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 6b89512 commit 5d60adf

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

deps/v8/include/v8-version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 7
1212
#define V8_MINOR_VERSION 7
1313
#define V8_BUILD_NUMBER 299
14-
#define V8_PATCH_LEVEL 10
14+
#define V8_PATCH_LEVEL 11
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

deps/v8/src/inspector/custom-preview.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ void bodyCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
242242
} // anonymous namespace
243243

244244
void generateCustomPreview(int sessionId, const String16& groupName,
245-
v8::Local<v8::Context> context,
246245
v8::Local<v8::Object> object,
247246
v8::MaybeLocal<v8::Value> maybeConfig, int maxDepth,
248247
std::unique_ptr<CustomPreview>* preview) {
248+
v8::Local<v8::Context> context = object->CreationContext();
249249
v8::Isolate* isolate = context->GetIsolate();
250250
v8::MicrotasksScope microtasksScope(isolate,
251251
v8::MicrotasksScope::kDoNotRunMicrotasks);

deps/v8/src/inspector/custom-preview.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ namespace v8_inspector {
1313
const int kMaxCustomPreviewDepth = 20;
1414

1515
void generateCustomPreview(
16-
int sessionId, const String16& groupName, v8::Local<v8::Context> context,
17-
v8::Local<v8::Object> object, v8::MaybeLocal<v8::Value> config,
18-
int maxDepth, std::unique_ptr<protocol::Runtime::CustomPreview>* preview);
16+
int sessionId, const String16& groupName, v8::Local<v8::Object> object,
17+
v8::MaybeLocal<v8::Value> config, int maxDepth,
18+
std::unique_ptr<protocol::Runtime::CustomPreview>* preview);
1919

2020
} // namespace v8_inspector
2121

deps/v8/src/inspector/injected-script.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ Response InjectedScript::wrapObjectMirror(
458458
if (!response.isSuccess()) return response;
459459
if (customPreviewEnabled && value->IsObject()) {
460460
std::unique_ptr<protocol::Runtime::CustomPreview> customPreview;
461-
generateCustomPreview(sessionId, groupName, context, value.As<v8::Object>(),
461+
generateCustomPreview(sessionId, groupName, value.As<v8::Object>(),
462462
customPreviewConfig, maxCustomPreviewDepth,
463463
&customPreview);
464464
if (customPreview) (*result)->setCustomPreview(std::move(customPreview));

0 commit comments

Comments
 (0)