Index: components/web_view/web_view_impl.cc |
diff --git a/components/web_view/web_view_impl.cc b/components/web_view/web_view_impl.cc |
index e73058937ec679c22701d31446d6c1c148c9083c..9d04651edc6d0395fb20e659b340f071883c113c 100644 |
--- a/components/web_view/web_view_impl.cc |
+++ b/components/web_view/web_view_impl.cc |
@@ -69,10 +69,9 @@ void WebViewImpl::OnLoad() { |
FrameTreeClient* frame_tree_client = frame_connection->frame_tree_client(); |
const uint32_t content_handler_id = frame_connection->GetContentHandlerID(); |
- frame_tree_.reset(new FrameTree(content_handler_id, content_, this, |
- frame_tree_client, frame_connection.Pass(), |
- client_properties)); |
- content_->Embed(view_tree_client.Pass()); |
+ frame_tree_.reset(new FrameTree( |
+ content_handler_id, content_, view_tree_client.Pass(), this, |
+ frame_tree_client, frame_connection.Pass(), client_properties)); |
} |
//////////////////////////////////////////////////////////////////////////////// |