Index: content/shell/renderer/test_runner/web_test_proxy.cc |
diff --git a/content/shell/renderer/test_runner/web_test_proxy.cc b/content/shell/renderer/test_runner/web_test_proxy.cc |
index 989502b0100b59505e44d91b009e805486c0e7c3..994a5f0479c71e052a1ce84d326231f92131e9d7 100644 |
--- a/content/shell/renderer/test_runner/web_test_proxy.cc |
+++ b/content/shell/renderer/test_runner/web_test_proxy.cc |
@@ -7,9 +7,11 @@ |
#include <cctype> |
#include "base/callback_helpers.h" |
+#include "base/command_line.h" |
#include "base/debug/trace_event.h" |
#include "base/logging.h" |
#include "base/strings/stringprintf.h" |
+#include "content/public/common/content_switches.h" |
#include "content/shell/renderer/test_runner/MockWebSpeechRecognizer.h" |
#include "content/shell/renderer/test_runner/SpellCheckClient.h" |
#include "content/shell/renderer/test_runner/TestCommon.h" |
@@ -313,6 +315,10 @@ WebTestProxyBase::WebTestProxyBase() |
web_widget_(NULL), |
spellcheck_(new SpellCheckClient(this)), |
chooser_count_(0) { |
+ // TODO(enne): using the scheduler introduces additional composite steps |
+ // that create flakiness. This should go away eventually. |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
+ switches::kDisableSingleThreadProxyScheduler); |
Reset(); |
} |