mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Windows: Fix VS2019 warning C4458: declaration of 'bounds' hides class member (see issue #1515)
This commit is contained in:
		@@ -105,11 +105,11 @@ class CefWindowInfo : public CefStructBase<CefWindowInfoTraits> {
 | 
			
		||||
  ///
 | 
			
		||||
  // Create the browser as a child window.
 | 
			
		||||
  ///
 | 
			
		||||
  void SetAsChild(CefWindowHandle parent, const CefRect& bounds) {
 | 
			
		||||
  void SetAsChild(CefWindowHandle parent, const CefRect& windowBounds) {
 | 
			
		||||
    style =
 | 
			
		||||
        WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_TABSTOP | WS_VISIBLE;
 | 
			
		||||
    parent_window = parent;
 | 
			
		||||
    this->bounds = bounds;
 | 
			
		||||
    bounds = windowBounds;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  ///
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user