Index: components/html_viewer/html_frame_apptest.cc |
diff --git a/components/html_viewer/html_frame_apptest.cc b/components/html_viewer/html_frame_apptest.cc |
index 10e4fba2ddbfb7b1fd316895247c748fa99ee273..95ba007237547bad8579dd0f089b90710a204e12 100644 |
--- a/components/html_viewer/html_frame_apptest.cc |
+++ b/components/html_viewer/html_frame_apptest.cc |
@@ -209,12 +209,11 @@ class HTMLFrameTest : public ViewManagerTestBase { |
FrameConnection* result = frame_connection.get(); |
FrameTreeClient* frame_tree_client = frame_connection->frame_tree_client(); |
ViewTreeClientPtr tree_client = frame_connection->GetViewTreeClient(); |
- frame_tree_.reset(new FrameTree(result->GetContentHandlerID(), view, |
- frame_tree_delegate_.get(), |
- frame_tree_client, frame_connection.Pass(), |
- Frame::ClientPropertyMap())); |
+ frame_tree_.reset( |
+ new FrameTree(result->GetContentHandlerID(), view, tree_client.Pass(), |
+ frame_tree_delegate_.get(), frame_tree_client, |
+ frame_connection.Pass(), Frame::ClientPropertyMap())); |
frame_tree_delegate_->set_frame_tree(frame_tree_.get()); |
- view->Embed(tree_client.Pass()); |
return result; |
} |