mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-29 10:39:49 +01:00
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.
|
||||
///
|
||||
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;
|
||||
}
|
||||
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user