Index: tools/gn/function_write_file_unittest.cc |
diff --git a/tools/gn/function_write_file_unittest.cc b/tools/gn/function_write_file_unittest.cc |
index 90bfa4c81eb8f6f46014a1a51e0536e4cb4b5351..8212e9919d14b3cfa9272fa080017edf0a6d80a3 100644 |
--- a/tools/gn/function_write_file_unittest.cc |
+++ b/tools/gn/function_write_file_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "base/files/scoped_temp_dir.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "tools/gn/functions.h" |
+#include "tools/gn/scheduler.h" |
#include "tools/gn/test_with_scope.h" |
namespace { |
@@ -31,6 +32,7 @@ bool CallWriteFile(Scope* scope, |
} // namespace |
TEST(WriteFile, WithData) { |
+ Scheduler scheduler; |
TestWithScope setup; |
// Make a real directory for writing the files. |