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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 112573008: Remove call of PrerenderTracker::TryCancelOnIOThread in ChromeContentBrowserClient::CanCreateWindow… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 6 years, 11 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 | « chrome/browser/prerender/prerender_contents.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
===================================================================
--- content/browser/web_contents/web_contents_impl.cc (revision 243184)
+++ content/browser/web_contents/web_contents_impl.cc (working copy)
@@ -1368,6 +1368,11 @@
params.target_url,
partition_id,
session_storage_namespace)) {
+ if (!RenderViewHost::FromID(render_process_id, route_id)) {
+ // If the embedder didn't create a WebContents for this route, we need to
+ // delete the RenderView that had already been created.
+ Send(new ViewMsg_Close(route_id));
jochen (gone - plz use gerrit) 2014/01/07 08:10:38 route_id might be MSG_ROUTING_NONE. in that case,
jam 2014/01/07 19:37:32 Done.
+ }
GetRenderViewHost()->GetProcess()->ResumeRequestsForView(route_id);
GetRenderViewHost()->GetProcess()->ResumeRequestsForView(
main_frame_route_id);
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698