diff options
author | Liang Qi <liang.qi@qt.io> | 2017-06-24 00:27:13 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-06-24 00:27:13 +0200 |
commit | f8d91f930057154633d91cd513ce313d4c400090 (patch) | |
tree | 73484b37ba47ea5ea3b834db0ebfd32d5fdb2e9e /src/core | |
parent | 408b2b89a34b64939ce04e75d2b0bf47646b9b03 (diff) | |
parent | 0340d87b7c12a5e56966e61db156e4a299b57bd9 (diff) |
Merge remote-tracking branch 'origin/5.9.1' into 5.9
Conflicts:
mkspecs/features/functions.prf
Change-Id: I53d65ea49f546c7d4aadfdaff178fd2f3f4cdf11
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/web_contents_adapter.cpp | 1 | ||||
-rw-r--r-- | src/core/web_contents_adapter_client.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/core/web_contents_adapter.cpp b/src/core/web_contents_adapter.cpp index 8430ff710..93e8674bd 100644 --- a/src/core/web_contents_adapter.cpp +++ b/src/core/web_contents_adapter.cpp @@ -403,6 +403,7 @@ void WebContentsAdapter::initialize(WebContentsAdapterClient *adapterClient) // We keep a reference to browserContextAdapter to keep it alive as long as we use it. // This is needed in case the QML WebEngineProfile is garbage collected before the WebEnginePage. d->browserContextAdapter = adapterClient->browserContextAdapter(); + Q_ASSERT(d->browserContextAdapter); // Create our own if a WebContents wasn't provided at construction. if (!d->webContents) diff --git a/src/core/web_contents_adapter_client.h b/src/core/web_contents_adapter_client.h index 055cefa6f..e1fb3dc4c 100644 --- a/src/core/web_contents_adapter_client.h +++ b/src/core/web_contents_adapter_client.h @@ -350,9 +350,7 @@ public: virtual void passOnFocus(bool reverse) = 0; // returns the last QObject (QWidget/QQuickItem) based object in the accessibility // hierarchy before going into the BrowserAccessibility tree -#ifndef QT_NO_ACCESSIBILITY virtual QObject *accessibilityParentObject() = 0; -#endif // QT_NO_ACCESSIBILITY virtual void javaScriptConsoleMessage(JavaScriptConsoleMessageLevel level, const QString& message, int lineNumber, const QString& sourceID) = 0; virtual void authenticationRequired(QSharedPointer<AuthenticationDialogController>) = 0; virtual void runGeolocationPermissionRequest(const QUrl &securityOrigin) = 0; |