chore: bump chromium to 106.0.5216.0 (main) (#34993)
This commit is contained in:
		
					parent
					
						
							
								e15e66f229
							
						
					
				
			
			
				commit
				
					
						97b353a30a
					
				
			
		
					 114 changed files with 886 additions and 779 deletions
				
			
		| 
						 | 
				
			
			@ -210,7 +210,7 @@ void Menu::Clear() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
int Menu::GetIndexOfCommandId(int command_id) const {
 | 
			
		||||
  return model_->GetIndexOfCommandId(command_id);
 | 
			
		||||
  return model_->GetIndexOfCommandId(command_id).value_or(-1);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int Menu::GetItemCount() const {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2868,7 +2868,7 @@ void WebContents::OnPDFCreated(
 | 
			
		|||
    gin_helper::Promise<v8::Local<v8::Value>> promise,
 | 
			
		||||
    PrintViewManagerElectron::PrintResult print_result,
 | 
			
		||||
    scoped_refptr<base::RefCountedMemory> data) {
 | 
			
		||||
  if (print_result != PrintViewManagerElectron::PrintResult::PRINT_SUCCESS) {
 | 
			
		||||
  if (print_result != PrintViewManagerElectron::PrintResult::kPrintSuccess) {
 | 
			
		||||
    promise.RejectWithErrorMessage(
 | 
			
		||||
        "Failed to generate PDF: " +
 | 
			
		||||
        PrintViewManagerElectron::PrintResultToString(print_result));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue