Index: content/public/test/layouttest_support.h |
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h |
index 575177314c78400fc3523c8fa7de1d1aec8e99ad..bfc15b2eac9fa2315042a418e3d7ebade34e43f2 100644 |
--- a/content/public/test/layouttest_support.h |
+++ b/content/public/test/layouttest_support.h |
@@ -138,6 +138,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_ |