chore: don't use after move (#29468)
This commit is contained in:
		
					parent
					
						
							
								f9213faec5
							
						
					
				
			
			
				commit
				
					
						cb59bab8cf
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1465,7 +1465,7 @@ void NativeWindowMac::SetTrafficLightPosition( | |||
|     base::Optional<gfx::Point> position) { | ||||
|   traffic_light_position_ = std::move(position); | ||||
|   if (buttons_view_) { | ||||
|     [buttons_view_ setMargin:position]; | ||||
|     [buttons_view_ setMargin:traffic_light_position_]; | ||||
|     [buttons_view_ viewDidMoveToWindow]; | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Sanders
				David Sanders