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

Unified Diff: extensions/renderer/api_binding_test.cc

Issue 2589363003: Use timer task runner for V8PerIsolate tasks (Closed)
Patch Set: One more fix Created 4 years 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 | « no previous file | gin/isolate_holder.cc » ('j') | third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/api_binding_test.cc
diff --git a/extensions/renderer/api_binding_test.cc b/extensions/renderer/api_binding_test.cc
index a6588b910f1ef4b5daa76e89266a0944af2a0f77..166f225960b029fbef474999e9724fc83c160328 100644
--- a/extensions/renderer/api_binding_test.cc
+++ b/extensions/renderer/api_binding_test.cc
@@ -5,6 +5,7 @@
#include "extensions/renderer/api_binding_test.h"
#include "base/memory/ptr_util.h"
+#include "base/threading/thread_task_runner_handle.h"
#include "gin/array_buffer.h"
#include "gin/public/context_holder.h"
#include "gin/public/isolate_holder.h"
@@ -27,7 +28,8 @@ void APIBindingTest::SetUp() {
gin::IsolateHolder::kStableV8Extras,
gin::ArrayBufferAllocator::SharedInstance());
- isolate_holder_ = base::MakeUnique<gin::IsolateHolder>();
+ isolate_holder_ =
+ base::MakeUnique<gin::IsolateHolder>(base::ThreadTaskRunnerHandle::Get());
isolate()->Enter();
v8::HandleScope handle_scope(isolate());
« no previous file with comments | « no previous file | gin/isolate_holder.cc » ('j') | third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698