Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: test/inspector/task-runner.cc

Issue 2840923002: Revert of [inspector] always include user scripts in the snapshot. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/inspector/task-runner.h ('k') | test/inspector/testcfg.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/task-runner.cc
diff --git a/test/inspector/task-runner.cc b/test/inspector/task-runner.cc
index 792af217c02c2395d636e35646e63964a15765ab..39bf1ffe86dd6975b6b4fb78edb592b8dc3d1697 100644
--- a/test/inspector/task-runner.cc
+++ b/test/inspector/task-runner.cc
@@ -34,11 +34,9 @@
TaskRunner::TaskRunner(TaskRunner::SetupGlobalTasks setup_global_tasks,
bool catch_exceptions,
- v8::base::Semaphore* ready_semaphore,
- v8::StartupData* startup_data)
+ v8::base::Semaphore* ready_semaphore)
: Thread(Options("Task Runner")),
setup_global_tasks_(std::move(setup_global_tasks)),
- startup_data_(startup_data),
catch_exceptions_(catch_exceptions),
ready_semaphore_(ready_semaphore),
isolate_(nullptr),
@@ -53,7 +51,6 @@
v8::Isolate::CreateParams params;
params.array_buffer_allocator =
v8::ArrayBuffer::Allocator::NewDefaultAllocator();
- params.snapshot_blob = startup_data_;
isolate_ = v8::Isolate::New(params);
isolate_->SetMicrotasksPolicy(v8::MicrotasksPolicy::kScoped);
v8::Isolate::Scope isolate_scope(isolate_);
« no previous file with comments | « test/inspector/task-runner.h ('k') | test/inspector/testcfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698