diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-05-03 13:56:59 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-05-07 15:59:22 +0000 |
commit | c470b7362cc19fa0d6d20ab8ddff0eb787cf7763 (patch) | |
tree | 7cf9a615638035f6570cb2c9e4f4fcbc178c9240 /src/core/renderer_host | |
parent | 911c676aa66db46176cfc8da19555d928ce0bd50 (diff) |
Reduce boilerplate code for WebContentsAdapter
We do not need WebContentsAdapterPrivate.
Remove it.
This change also removes scoped ref to WebEngineContext
in WebContentsAdapter.
Change-Id: I0a9acec4d5500342ffa41865cfc775fdb0e68ac4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/renderer_host')
-rw-r--r-- | src/core/renderer_host/user_resource_controller_host.cpp | 2 | ||||
-rw-r--r-- | src/core/renderer_host/user_resource_controller_host.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/core/renderer_host/user_resource_controller_host.cpp b/src/core/renderer_host/user_resource_controller_host.cpp index a9071df8f..d889915a6 100644 --- a/src/core/renderer_host/user_resource_controller_host.cpp +++ b/src/core/renderer_host/user_resource_controller_host.cpp @@ -42,8 +42,6 @@ #include "common/qt_messages.h" #include "type_conversion.h" #include "web_contents_adapter.h" -#include "web_contents_adapter_p.h" - #include "content/public/browser/render_process_host.h" #include "content/public/browser/render_process_host_observer.h" #include "content/public/browser/render_view_host.h" diff --git a/src/core/renderer_host/user_resource_controller_host.h b/src/core/renderer_host/user_resource_controller_host.h index 8e6e1e3bf..cd02b4757 100644 --- a/src/core/renderer_host/user_resource_controller_host.h +++ b/src/core/renderer_host/user_resource_controller_host.h @@ -54,7 +54,6 @@ class WebContents; namespace QtWebEngineCore { class WebContentsAdapter; -class WebContentsAdapterPrivate; class QWEBENGINE_EXPORT UserResourceControllerHost { |