chore: remove unused field ElectronBrowserClient::browser_main_parts_ (#42956)
		
	chore: remove unused field ElectronBrowserClient::browser_main_parts_
caller removed in 48d0b09a
	
	
This commit is contained in:
		
					parent
					
						
							
								5773a2dce6
							
						
					
				
			
			
				commit
				
					
						32a74b0942
					
				
			
		
					 2 changed files with 1 additions and 11 deletions
				
			
		| 
						 | 
					@ -829,13 +829,7 @@ ElectronBrowserClient::GetSystemNetworkContext() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
std::unique_ptr<content::BrowserMainParts>
 | 
					std::unique_ptr<content::BrowserMainParts>
 | 
				
			||||||
ElectronBrowserClient::CreateBrowserMainParts(bool /* is_integration_test */) {
 | 
					ElectronBrowserClient::CreateBrowserMainParts(bool /* is_integration_test */) {
 | 
				
			||||||
  auto browser_main_parts = std::make_unique<ElectronBrowserMainParts>();
 | 
					  return std::make_unique<ElectronBrowserMainParts>();
 | 
				
			||||||
 | 
					 | 
				
			||||||
#if BUILDFLAG(IS_MAC)
 | 
					 | 
				
			||||||
  browser_main_parts_ = browser_main_parts.get();
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  return browser_main_parts;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void ElectronBrowserClient::WebNotificationAllowed(
 | 
					void ElectronBrowserClient::WebNotificationAllowed(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -340,10 +340,6 @@ class ElectronBrowserClient : public content::ContentBrowserClient,
 | 
				
			||||||
  std::unique_ptr<ElectronHidDelegate> hid_delegate_;
 | 
					  std::unique_ptr<ElectronHidDelegate> hid_delegate_;
 | 
				
			||||||
  std::unique_ptr<ElectronWebAuthenticationDelegate>
 | 
					  std::unique_ptr<ElectronWebAuthenticationDelegate>
 | 
				
			||||||
      web_authentication_delegate_;
 | 
					      web_authentication_delegate_;
 | 
				
			||||||
 | 
					 | 
				
			||||||
#if BUILDFLAG(IS_MAC)
 | 
					 | 
				
			||||||
  raw_ptr<ElectronBrowserMainParts> browser_main_parts_ = nullptr;
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}  // namespace electron
 | 
					}  // namespace electron
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue