Index: chrome/browser/ui/views/frame/contents_web_view.cc |
diff --git a/chrome/browser/ui/views/frame/contents_web_view.cc b/chrome/browser/ui/views/frame/contents_web_view.cc |
index b6b45bd69f9faa1f1f3a2e06b458a84496db45c2..151823ad34a7d75b21e0648aed23847077a88832 100644 |
--- a/chrome/browser/ui/views/frame/contents_web_view.cc |
+++ b/chrome/browser/ui/views/frame/contents_web_view.cc |
@@ -98,8 +98,7 @@ void ContentsWebView::CloneWebContentsLayer() { |
#if defined(USE_AURA) |
// We don't need to clone the layers on non-Aura (Mac), because closing an |
// NSWindow does not animate. |
- cloned_layer_tree_ = |
- wm::RecreateLayers(web_contents()->GetNativeView(), nullptr); |
+ cloned_layer_tree_ = wm::RecreateLayers(web_contents()->GetNativeView()); |
#endif |
if (!cloned_layer_tree_ || !cloned_layer_tree_->root()) { |
cloned_layer_tree_.reset(); |