Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/v8/include/v8-version.h
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@
#defineV8_MAJOR_VERSION 7
#defineV8_MINOR_VERSION 7
#defineV8_BUILD_NUMBER 299
#defineV8_PATCH_LEVEL10
#defineV8_PATCH_LEVEL11

// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/inspector/custom-preview.cc
Original file line numberDiff line numberDiff line change
Expand Up@@ -242,10 +242,10 @@ void bodyCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
} // anonymous namespace

voidgenerateCustomPreview(int sessionId, const String16& groupName,
v8::Local<v8::Context> context,
v8::Local<v8::Object> object,
v8::MaybeLocal<v8::Value> maybeConfig, int maxDepth,
std::unique_ptr<CustomPreview>* preview) {
v8::Local<v8::Context> context = object->CreationContext();
v8::Isolate* isolate = context->GetIsolate();
v8::MicrotasksScope microtasksScope(isolate,
v8::MicrotasksScope::kDoNotRunMicrotasks);
Expand Down
6 changes: 3 additions & 3 deletions deps/v8/src/inspector/custom-preview.h
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,9 +13,9 @@ namespace v8_inspector {
constintkMaxCustomPreviewDepth = 20;

voidgenerateCustomPreview(
int sessionId, const String16& groupName, v8::Local<v8::Context> context,
v8::Local<v8::Object> object, v8::MaybeLocal<v8::Value> config,
int maxDepth, std::unique_ptr<protocol::Runtime::CustomPreview>* preview);
int sessionId, const String16& groupName, v8::Local<v8::Object> object,
v8::MaybeLocal<v8::Value> config, int maxDepth,
std::unique_ptr<protocol::Runtime::CustomPreview>* preview);

} // namespace v8_inspector

Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/inspector/injected-script.cc
Original file line numberDiff line numberDiff line change
Expand Up@@ -458,7 +458,7 @@ Response InjectedScript::wrapObjectMirror(
if (!response.isSuccess()) return response;
if (customPreviewEnabled && value->IsObject()) {
std::unique_ptr<protocol::Runtime::CustomPreview> customPreview;
generateCustomPreview(sessionId, groupName, context, value.As<v8::Object>(),
generateCustomPreview(sessionId, groupName, value.As<v8::Object>(),
customPreviewConfig, maxCustomPreviewDepth,
&customPreview);
if (customPreview) (*result)->setCustomPreview(std::move(customPreview));
Expand Down