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

Unified Diff: ui/views/controls/native/native_view_host_aura_unittest.cc

Issue 2696573003: Have WindowTreeClient detect error state earlier (Closed)
Patch Set: Fix test exposed by new check Created 3 years, 10 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/mus/window_tree_client_observer.h ('k') | ui/views/mus/pointer_watcher_event_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/native/native_view_host_aura_unittest.cc
diff --git a/ui/views/controls/native/native_view_host_aura_unittest.cc b/ui/views/controls/native/native_view_host_aura_unittest.cc
index a0833e02a4eb74322f002c9ea60c3b1006654964..e263d29288e1e863fa48a607cdf3f8fb4f2b3dcd 100644
--- a/ui/views/controls/native/native_view_host_aura_unittest.cc
+++ b/ui/views/controls/native/native_view_host_aura_unittest.cc
@@ -105,6 +105,12 @@ class NativeViewHostAuraTest : public test::NativeViewHostTestBase {
host()));
}
+ // test::NativeViewHostTestBase:
+ void TearDown() override {
+ child_.reset();
+ test::NativeViewHostTestBase::TearDown();
+ }
+
private:
std::unique_ptr<Widget> child_;
« no previous file with comments | « ui/aura/mus/window_tree_client_observer.h ('k') | ui/views/mus/pointer_watcher_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698