mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			811 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			811 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
diff --git render_process_host_impl.cc render_process_host_impl.cc
 | 
						|
index 4152ce2..9e235d3 100644
 | 
						|
--- render_process_host_impl.cc
 | 
						|
+++ render_process_host_impl.cc
 | 
						|
@@ -2084,6 +2084,8 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
 | 
						|
 #endif
 | 
						|
   RemoveUserData(kSessionStorageHolderKey);
 | 
						|
 
 | 
						|
+  mojo_application_host_.reset(new MojoApplicationHost);
 | 
						|
+
 | 
						|
   IDMap<IPC::Listener>::iterator iter(&listeners_);
 | 
						|
   while (!iter.IsAtEnd()) {
 | 
						|
     iter.GetCurrentValue()->OnMessageReceived(
 | 
						|
@@ -2093,8 +2095,6 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
 | 
						|
     iter.Advance();
 | 
						|
   }
 | 
						|
 
 | 
						|
-  mojo_application_host_.reset(new MojoApplicationHost);
 | 
						|
-
 | 
						|
   // It's possible that one of the calls out to the observers might have caused
 | 
						|
   // this object to be no longer needed.
 | 
						|
   if (delayed_cleanup_needed_)
 |