Skip to content

Commit

Permalink
deps: patch V8 to 7.7.299.11
Browse files Browse the repository at this point in the history
Refs: v8/v8@7.7.299.10...7.7.299.11

PR-URL: #29628
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
targos committed Sep 23, 2019
1 parent fdd5d4a commit cbd3a1c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deps/v8/include/v8-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define V8_MAJOR_VERSION 7
#define V8_MINOR_VERSION 7
#define V8_BUILD_NUMBER 299
#define V8_PATCH_LEVEL 10
#define V8_PATCH_LEVEL 11

// 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 number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ void bodyCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
} // anonymous namespace

void generateCustomPreview(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 number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ namespace v8_inspector {
const int kMaxCustomPreviewDepth = 20;

void generateCustomPreview(
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 number Diff line number Diff 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

0 comments on commit cbd3a1c

Please sign in to comment.