Add TODO to deprecate boolean param
This commit is contained in:
		
					parent
					
						
							
								8e1de88512
							
						
					
				
			
			
				commit
				
					
						c4e743d207
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -40,6 +40,7 @@ struct Converter<atom::TrayIcon::HighlightMode> {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    // Support old boolean parameter
 | 
			
		||||
    // TODO(kevinsawicki): Remove in 2.0, deprecate before then with warnings
 | 
			
		||||
    bool highlight;
 | 
			
		||||
    if (ConvertFromV8(isolate, val, &highlight)) {
 | 
			
		||||
      if (highlight)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue