mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-03 20:47:43 +01:00
Linux: Fix error: use of undeclared identifier 'GetPreferredSize'
This commit is contained in:
parent
a2749d8fbd
commit
7d05784842
@ -142,7 +142,7 @@ CEF_VIEW_VIEW_T int CEF_VIEW_VIEW_D::GetHeightForWidth(int w) const {
|
||||
// Some layouts like FillLayout will ignore the preferred size if this view
|
||||
// has no children. We want to use the preferred size if not otherwise
|
||||
// specified.
|
||||
result = GetPreferredSize().height();
|
||||
result = ParentClass::GetPreferredSize().height();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user