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

Unified Diff: content/renderer/pepper/host_var_tracker_unittest.cc

Issue 2711703002: Revert of Use TaskScheduler instead of WorkerPool in v8_platform.cc. (Closed)
Patch Set: another patchset to kick off tryjobs Created 3 years, 10 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 | « content/public/test/render_view_test.h ('k') | content/test/blink_test_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/host_var_tracker_unittest.cc
diff --git a/content/renderer/pepper/host_var_tracker_unittest.cc b/content/renderer/pepper/host_var_tracker_unittest.cc
index 72e546cc9a7bb1e69e4c6f553e14c8605adfde7d..75d0f262f304502bdeaeb995ecb02dba2ff2b2ba 100644
--- a/content/renderer/pepper/host_var_tracker_unittest.cc
+++ b/content/renderer/pepper/host_var_tracker_unittest.cc
@@ -7,7 +7,6 @@
#include <memory>
#include "base/macros.h"
-#include "base/test/scoped_async_task_scheduler.h"
#include "content/renderer/pepper/host_globals.h"
#include "content/renderer/pepper/mock_resource.h"
#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
@@ -80,11 +79,6 @@ class HostVarTrackerTest : public PpapiUnittest {
}
HostVarTracker& tracker() { return *HostGlobals::Get()->host_var_tracker(); }
-
- private:
- // Required by gin::V8Platform::CallOnBackgroundThread(). Can't be a
- // ScopedTaskScheduler because v8 synchronously waits for tasks to run.
- base::test::ScopedAsyncTaskScheduler scoped_async_task_scheduler_;
};
TEST_F(HostVarTrackerTest, DeleteObjectVarWithInstance) {
« no previous file with comments | « content/public/test/render_view_test.h ('k') | content/test/blink_test_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698