Index: content/public/test/layouttest_support.h |
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h |
index 762ab122d659a26641517876fa878e4df775e33e..b8c452f439b74678c505d32e1459948d1fb97898 100644 |
--- a/content/public/test/layouttest_support.h |
+++ b/content/public/test/layouttest_support.h |
@@ -142,6 +142,9 @@ void DisableAutoResizeMode(RenderView* render_view, |
std::string DumpBackForwardList(std::vector<PageState>& page_state, |
size_t current_index); |
+// Run all pending idle tasks immediately, and then invoke callback. |
+void SchedulerRunIdleTasks(const base::Closure& callback); |
+ |
} // namespace content |
#endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |