Windows: Fix VS2019 warning C4458: declaration of 'bounds' hides class member (see issue #1515)

This commit is contained in:
Marshall Greenblatt 2021-10-01 12:05:55 +03:00
parent 582e0a0ab7
commit 4767130954
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
///