Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: components/web_view/web_view_impl.cc

Issue 1323233004: Adds better security checking to OnCreatedFrame() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/web_view/frame_tree.cc ('k') | mojo/application/public/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « components/web_view/frame_tree.cc ('k') | mojo/application/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698