Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: ui/aura/test/aura_test_base.cc

Issue 2897663002: chromeos: makes it possible for windows to outlive WindowTreeClient (Closed)
Patch Set: cleanup Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/test/aura_test_base.h ('k') | ui/aura/test/aura_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.cc
diff --git a/ui/aura/test/aura_test_base.cc b/ui/aura/test/aura_test_base.cc
index 45f49357bc76b9bb6d54dfce21aca66fd7683725..581c74d2e005b47be68d64f1d4818f4dc09b8a4c 100644
--- a/ui/aura/test/aura_test_base.cc
+++ b/ui/aura/test/aura_test_base.cc
@@ -124,6 +124,11 @@ void AuraTestBase::EnableMusWithTestWindowTree() {
use_mus_ = true;
}
+void AuraTestBase::DeleteWindowTreeClient() {
+ DCHECK(use_mus_);
+ helper_->DeleteWindowTreeClient();
+}
+
void AuraTestBase::ConfigureBackend(BackendType type) {
if (type == BackendType::MUS)
EnableMusWithTestWindowTree();
« no previous file with comments | « ui/aura/test/aura_test_base.h ('k') | ui/aura/test/aura_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698