Windows: Fix VS2019 warning C4458: declaration of 'bounds' hides class member (see issue #1515)
This commit is contained in:
parent
582e0a0ab7
commit
4767130954
|
@ -105,11 +105,11 @@ class CefWindowInfo : public CefStructBase<CefWindowInfoTraits> {
|
||||||
///
|
///
|
||||||
// Create the browser as a child window.
|
// Create the browser as a child window.
|
||||||
///
|
///
|
||||||
void SetAsChild(CefWindowHandle parent, const CefRect& bounds) {
|
void SetAsChild(CefWindowHandle parent, const CefRect& windowBounds) {
|
||||||
style =
|
style =
|
||||||
WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_TABSTOP | WS_VISIBLE;
|
WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_TABSTOP | WS_VISIBLE;
|
||||||
parent_window = parent;
|
parent_window = parent;
|
||||||
this->bounds = bounds;
|
bounds = windowBounds;
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue