Index: ui/aura/test/aura_test_helper.h |
diff --git a/ui/aura/test/aura_test_helper.h b/ui/aura/test/aura_test_helper.h |
index 25f612bb5e2d8ffab3db08b9d37a44533928951b..8bc1912771f1746838e379b6e02d287be814bba5 100644 |
--- a/ui/aura/test/aura_test_helper.h |
+++ b/ui/aura/test/aura_test_helper.h |
@@ -60,6 +60,11 @@ class AuraTestHelper { |
// before SetUp(). |
void EnableMusWithWindowTreeClient(WindowTreeClient* window_tree_client); |
+ // Deletes the WindowTreeClient now. Normally the WindowTreeClient is deleted |
+ // at the right time and there is no need to call this. This is provided for |
+ // testing shutdown ordering. |
+ void DeleteWindowTreeClient(); |
+ |
// Creates and initializes (shows and sizes) the RootWindow for use in tests. |
void SetUp(ui::ContextFactory* context_factory, |
ui::ContextFactoryPrivate* context_factory_private); |