Index: ui/arc/notification/arc_custom_notification_view.cc |
diff --git a/ui/arc/notification/arc_custom_notification_view.cc b/ui/arc/notification/arc_custom_notification_view.cc |
index 2189b10d6e30802470111cf219e98e1041bf0d7a..3e927c583f21c0de73a9a74685faa97de0f7e96b 100644 |
--- a/ui/arc/notification/arc_custom_notification_view.cc |
+++ b/ui/arc/notification/arc_custom_notification_view.cc |
@@ -113,7 +113,7 @@ class ArcCustomNotificationView::SlideHelper |
void OnSlideStart() { |
if (!owner_->surface_ || !owner_->surface_->window()) |
return; |
- surface_copy_ = ::wm::RecreateLayers(owner_->surface_->window(), nullptr); |
+ surface_copy_ = ::wm::RecreateLayers(owner_->surface_->window()); |
// |surface_copy_| is at (0, 0) in owner_->layer(). |
surface_copy_->root()->SetBounds(gfx::Rect(surface_copy_->root()->size())); |
owner_->layer()->Add(surface_copy_->root()); |