diff -Naur /var/tmp/paludis/dev-qt-qtwebengine-5.9.9999/work/qtwebengine-5.9.9999/src/core/network_delegate_qt.cpp /home/sss/temp/qtwebengine-5.9.9999/src/core/network_delegate_qt.cpp --- a/src/core/network_delegate_qt.cpp 2017-07-09 17:37:49.762321907 +0300 +++ b/src/core/network_delegate_qt.cpp 2017-07-09 17:37:14.075318258 +0300 @@ -55,6 +55,7 @@ #include "type_conversion.h" #include "web_contents_adapter_client.h" #include "web_contents_view_qt.h" +#include namespace QtWebEngineCore { @@ -83,7 +84,7 @@ QWebEngineUrlRequestInfo::ResourceType toQt(content::ResourceType resourceType) { - if (resourceType >= 0 && resourceType < content::ResourceType(QWebEngineUrlRequestInfo::ResourceTypeLast)) + if (resourceType >= 0 && resourceType < content::ResourceType(QWebEngineUrlRequestInfo::ResourceTypeUnknown)) return static_cast(resourceType); return QWebEngineUrlRequestInfo::ResourceTypeUnknown; }