summaryrefslogtreecommitdiffstats
path: root/src/core/compositor/content_gpu_client_qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/compositor/content_gpu_client_qt.cpp')
-rw-r--r--src/core/compositor/content_gpu_client_qt.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/compositor/content_gpu_client_qt.cpp b/src/core/compositor/content_gpu_client_qt.cpp
index 0317b503a..f934979a0 100644
--- a/src/core/compositor/content_gpu_client_qt.cpp
+++ b/src/core/compositor/content_gpu_client_qt.cpp
@@ -53,9 +53,7 @@ ContentGpuClientQt::~ContentGpuClientQt()
gpu::SyncPointManager *ContentGpuClientQt::GetSyncPointManager()
{
- WebEngineContext *current = WebEngineContext::current();
- Q_ASSERT(current);
- return current->syncPointManager();
+ return WebEngineContext::syncPointManager();
}
} // namespace