Index: ui/views/view_unittest_aura.cc |
diff --git a/ui/views/view_unittest_aura.cc b/ui/views/view_unittest_aura.cc |
index b1e7b2fee6009fbf1875024c4120eacb8a07c032..531302ae75b9e2792239206f7a84b27acade1196 100644 |
--- a/ui/views/view_unittest_aura.cc |
+++ b/ui/views/view_unittest_aura.cc |
@@ -122,7 +122,7 @@ TEST_F(ViewAuraTest, RecreateLayersWithWindows) { |
{ |
std::unique_ptr<ui::LayerTreeOwner> cloned_owner( |
- wm::RecreateLayers(w1->GetNativeView(), nullptr)); |
+ wm::RecreateLayers(w1->GetNativeView())); |
EXPECT_EQ(w1_layer, cloned_owner->root()); |
EXPECT_NE(w1_layer, w1->GetNativeView()->layer()); |