fix: check DCHECK_IS_ON() instead of #ifdef DCHECK_IS_ON (#29620)
This commit is contained in:
		
					parent
					
						
							
								fed5ad5303
							
						
					
				
			
			
				commit
				
					
						34a4e26b24
					
				
			
		
					 6 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -78,7 +78,7 @@ class Menu : public gin::Wrappable<Menu>,
 | 
			
		|||
                       int positioning_item,
 | 
			
		||||
                       base::OnceClosure callback) = 0;
 | 
			
		||||
  virtual void ClosePopupAt(int32_t window_id) = 0;
 | 
			
		||||
#ifdef DCHECK_IS_ON
 | 
			
		||||
#if DCHECK_IS_ON()
 | 
			
		||||
  virtual std::u16string GetAcceleratorTextAtForTesting(int index) const;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue