Chromium Code Reviews| Index: Source/core/dom/ScriptRunnerTest.cpp |
| diff --git a/Source/core/dom/ScriptRunnerTest.cpp b/Source/core/dom/ScriptRunnerTest.cpp |
| index 6a82fffb9ead723fc5aa1ea94860af2a89b330af..9fadb38fcfe7a29e273a5808a2dd5d0839114c8c 100644 |
| --- a/Source/core/dom/ScriptRunnerTest.cpp |
| +++ b/Source/core/dom/ScriptRunnerTest.cpp |
| @@ -86,6 +86,10 @@ class ScriptRunnerTest : public testing::Test { |
| public: |
| void SetUp() override |
| { |
| + Scheduler::shutdown(); |
|
Sami
2015/04/09 10:52:29
Why is this change needed?
alex clarke (OOO till 29th)
2015/04/10 15:29:34
I think this was due to some shutdown problems. F
|
| + |
| + m_oldPlatform = Platform::current(); |
| + Platform::initialize(&m_platform); |
| m_document = Document::create(); |
| m_element = m_document->createElement("foo", ASSERT_NO_EXCEPTION); |