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

Unified Diff: gin/per_isolate_data.cc

Issue 2478813002: When an Isolate is configured to use lockers, foreground tasks need to lock (Closed)
Patch Set: updates Created 4 years, 1 month 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 | « gin/per_isolate_data.h ('k') | gin/v8_platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/per_isolate_data.cc
diff --git a/gin/per_isolate_data.cc b/gin/per_isolate_data.cc
index ead780c0e7087e874d18656f82362198ca41fa0b..261782eeaa5d469b6cb734c51b8c559d45c3c041 100644
--- a/gin/per_isolate_data.cc
+++ b/gin/per_isolate_data.cc
@@ -22,9 +22,11 @@ using v8::ObjectTemplate;
namespace gin {
PerIsolateData::PerIsolateData(Isolate* isolate,
- ArrayBuffer::Allocator* allocator)
+ ArrayBuffer::Allocator* allocator,
+ IsolateHolder::AccessMode access_mode)
: isolate_(isolate),
allocator_(allocator),
+ access_mode_(access_mode),
task_runner_(base::ThreadTaskRunnerHandle::Get()) {
isolate_->SetData(kEmbedderNativeGin, this);
}
« no previous file with comments | « gin/per_isolate_data.h ('k') | gin/v8_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698