diff options
Diffstat (limited to 'src/core/api')
-rw-r--r-- | src/core/api/core_api.pro | 4 | ||||
-rw-r--r-- | src/core/api/qwebenginecookiestore.cpp | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/src/core/api/core_api.pro b/src/core/api/core_api.pro index cff7b1506..637a2ffa0 100644 --- a/src/core/api/core_api.pro +++ b/src/core/api/core_api.pro @@ -24,9 +24,7 @@ DEFINES += \ CHROMIUM_SRC_DIR = $$QTWEBENGINE_ROOT/$$getChromiumSrcDir() INCLUDEPATH += $$QTWEBENGINE_ROOT/src/core \ - $$CHROMIUM_SRC_DIR \ - $$CHROMIUM_SRC_DIR/third_party/skia/include/core \ - $$CHROMIUM_SRC_DIR/third_party/skia/include/config + $$CHROMIUM_SRC_DIR linux-g++*: QMAKE_CXXFLAGS += -Wno-unused-parameter 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; |