From 7d05784842d70b047ae4f480762cd9610107babb Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Mon, 5 Jun 2017 11:59:45 +0200 Subject: [PATCH] Linux: Fix error: use of undeclared identifier 'GetPreferredSize' --- libcef/browser/views/view_view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcef/browser/views/view_view.h b/libcef/browser/views/view_view.h index 57c7200ec..731a2fe9c 100644 --- a/libcef/browser/views/view_view.h +++ b/libcef/browser/views/view_view.h @@ -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; }