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

Unified Diff: Source/platform/scheduler/SchedulerTest.cpp

Issue 650103003: Turn off Blink Scheduler by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Enable scheduler for tests. Created 6 years, 2 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 | « Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scheduler/SchedulerTest.cpp
diff --git a/Source/platform/scheduler/SchedulerTest.cpp b/Source/platform/scheduler/SchedulerTest.cpp
index aa708556f5ee3b221c503c5a912dbde5a83681fc..cc4d7e15ec63330c1f7868ffdffb6c0568295350 100644
--- a/Source/platform/scheduler/SchedulerTest.cpp
+++ b/Source/platform/scheduler/SchedulerTest.cpp
@@ -5,6 +5,7 @@
#include "config.h"
#include "platform/scheduler/Scheduler.h"
+#include "platform/RuntimeEnabledFeatures.h"
#include "platform/TestingPlatformSupport.h"
#include "platform/TraceLocation.h"
#include "public/platform/Platform.h"
@@ -162,6 +163,7 @@ public:
: m_reentrantCount(0)
, m_maxRecursion(4)
{
+ blink::RuntimeEnabledFeatures::setBlinkSchedulerEnabled(true);
SchedulerForTest::initializeOnMainThread();
m_scheduler = static_cast<SchedulerForTest*>(Scheduler::shared());
}
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698