From c974b9c213e267c203fce1f588f667156bbca445 Mon Sep 17 00:00:00 2001 From: Pierre Rossi Date: Fri, 14 Feb 2014 11:08:24 +0100 Subject: Make Qt 5.2 a minimum requirement Cleanup version ifdefs and v8-private dependencies. Change-Id: Iac393c06dfba02499e60d713d9f4d04ef0c9e617 Reviewed-by: Jocelyn Turcotte Reviewed-by: Andras Becsi --- src/core/content_browser_client_qt.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/content_browser_client_qt.cpp') diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index 8adad10f0..7e06aed65 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -56,9 +56,7 @@ #include "web_contents_view_qt.h" #include -#if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)) #include -#endif #include namespace { @@ -247,12 +245,10 @@ private: void ShareGroupQtQuick::AboutToAddFirstContext() { -#if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)) // This currently has to be setup by ::main in all applications using QQuickWebEngineView with delegated rendering. QOpenGLContext *shareContext = QSGContext::sharedOpenGLContext(); Q_ASSERT(shareContext); m_shareContextQtQuick = make_scoped_refptr(new QtShareGLContext(shareContext)); -#endif } content::WebContentsViewPort* ContentBrowserClientQt::OverrideCreateWebContentsView(content::WebContents* web_contents, -- cgit v1.2.3