summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.cpp
diff options
context:
space:
mode:
authorKirill Burtsev <kirill.burtsev@qt.io>2018-10-02 16:17:46 +0200
committerKai Koehne <kai.koehne@qt.io>2018-10-08 06:40:43 +0000
commit17c061d9068de2ff06ec26ed55a693915142032e (patch)
tree29f2a3072bc4f9d9ee270664cf05c8c190df3fce /src/core/web_engine_context.cpp
parent514633108e88da241b6bbcbc108e1fcecdadf366 (diff)
Fix leak which arises on querying GLOzone instance in SurfaceFactoryQt
Ownership of GLOzone instance assumed to be hold by factory, no new instance should be created on each GetGLOzone call. Task-number: QTBUG-69088 Change-Id: I7eb8575f1f35bd30292a8b4fc5ab1334ccb8e2bb Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r--src/core/web_engine_context.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index 7010359e2..6fbdbec61 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -96,7 +96,6 @@
#include "net/webui_controller_factory_qt.h"
#include "type_conversion.h"
#include "ozone/gl_context_qt.h"
-#include "ozone/surface_factory_qt.h"
#include "web_engine_library_info.h"
#include <QFileInfo>