summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginecookiestore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginecookiestore.cpp')
-rw-r--r--src/core/api/qwebenginecookiestore.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/api/qwebenginecookiestore.cpp b/src/core/api/qwebenginecookiestore.cpp
index 76e79c570..600a55a8c 100644
--- a/src/core/api/qwebenginecookiestore.cpp
+++ b/src/core/api/qwebenginecookiestore.cpp
@@ -43,11 +43,20 @@
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "net/cookie_monster_delegate_qt.h"
-#include "type_conversion.h"
#include <QByteArray>
#include <QUrl>
+
+namespace {
+
+inline GURL toGurl(const QUrl& url)
+{
+ return GURL(url.toString().toStdString());
+}
+
+}
+
QT_BEGIN_NAMESPACE
using namespace QtWebEngineCore;