mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Win: Fix assertion when selecting input text in reverse order due to revision #344 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@355 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
		@@ -1086,12 +1086,8 @@ void WebWidgetHost::UpdateInputMethod(HWND view)
 | 
			
		||||
    new_type = host->webwidget_->textInputType();
 | 
			
		||||
    
 | 
			
		||||
    WebKit::WebRect startRect, endRect;
 | 
			
		||||
    if (host->webwidget_->selectionBounds(startRect, endRect)) {
 | 
			
		||||
      new_caret_bounds.x = startRect.x;
 | 
			
		||||
      new_caret_bounds.y = startRect.y;
 | 
			
		||||
      new_caret_bounds.width = endRect.x + endRect.width - startRect.x;
 | 
			
		||||
      new_caret_bounds.height = endRect.y + endRect.height - startRect.y;
 | 
			
		||||
    }
 | 
			
		||||
    if (host->webwidget_->selectionBounds(startRect, endRect))
 | 
			
		||||
      new_caret_bounds = endRect;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Only sends text input type and caret bounds to the browser process if they
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user