mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:22:44 +00:00 
			
		
		
		
	LibCore: Move Stream-based sockets into the Core namespace
				
					
				
			This commit is contained in:
		
							parent
							
								
									d43a7eae54
								
							
						
					
					
						commit
						a96339b72b
					
				
					 123 changed files with 1157 additions and 1100 deletions
				
			
		|  | @ -600,11 +600,11 @@ void WebContentView::create_client() | |||
|     MUST(Core::System::close(wc_fd_passing_fd)); | ||||
|     MUST(Core::System::close(wc_fd)); | ||||
| 
 | ||||
|     auto socket = MUST(Core::Stream::LocalSocket::adopt_fd(ui_fd)); | ||||
|     auto socket = MUST(Core::LocalSocket::adopt_fd(ui_fd)); | ||||
|     MUST(socket->set_blocking(true)); | ||||
| 
 | ||||
|     auto new_client = MUST(adopt_nonnull_ref_or_enomem(new (nothrow) WebView::WebContentClient(std::move(socket), *this))); | ||||
|     new_client->set_fd_passing_socket(MUST(Core::Stream::LocalSocket::adopt_fd(ui_fd_passing_fd))); | ||||
|     new_client->set_fd_passing_socket(MUST(Core::LocalSocket::adopt_fd(ui_fd_passing_fd))); | ||||
| 
 | ||||
|     m_web_content_notifier.setSocket(new_client->socket().fd().value()); | ||||
|     m_web_content_notifier.setEnabled(true); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Schumacher
						Tim Schumacher