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

Unified Diff: ui/views/view_unittest.cc

Issue 2582523003: Fixes visibility bugs in DesktopWindowTreeHostMus (Closed)
Patch Set: Created 4 years 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/views/mus/desktop_window_tree_host_mus.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view_unittest.cc
diff --git a/ui/views/view_unittest.cc b/ui/views/view_unittest.cc
index 7567394429b0e4468984ae055adb9ec34ea22951..b5ce1adecb25f5e6670eec3c88b6f3c09a497804 100644
--- a/ui/views/view_unittest.cc
+++ b/ui/views/view_unittest.cc
@@ -4658,16 +4658,9 @@ TEST_F(ViewTest, DestroyLayerInClose) {
EXPECT_FALSE(view.was_hidden());
widget->Close();
- if (IsAuraMusClient()) {
- // Mus on Ozone doesn't send the visibility change during Close().
- // See http://crbug.com/674003.
- EXPECT_TRUE(view.layer());
- EXPECT_FALSE(view.was_hidden());
- } else {
- EXPECT_FALSE(view.layer());
- // Ensure the layer went away via VisibilityChanged().
- EXPECT_TRUE(view.was_hidden());
- }
+ EXPECT_FALSE(view.layer());
+ // Ensure the layer went away via VisibilityChanged().
+ EXPECT_TRUE(view.was_hidden());
// Not removed from Widget until Close() completes.
EXPECT_TRUE(view.GetWidget());
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698