summaryrefslogtreecommitdiffstats
path: root/src/core/net/plugin_response_interceptor_url_loader_throttle.h
diff options
context:
space:
mode:
authorKirill Burtsev <kirill.burtsev@qt.io>2021-11-30 13:01:39 +0100
committerKirill Burtsev <kirill.burtsev@qt.io>2022-01-03 15:15:52 +0100
commit387a5ee0c35364f6b4c9ce3bd3d50f5b825626ca (patch)
tree148e5c30f1a56b49effae0073c804aaf0e34111c /src/core/net/plugin_response_interceptor_url_loader_throttle.h
parent99e34e9c99453b4990c82468260f431dede4e256 (diff)
Cleanup code and clang build warnings
Fix build noise as reported by clang for issues like api deprecation, unused variables, sign/unsigned mismatch and other non critical issues. Change-Id: I4fba25406eea8170e3283c42e908ae86bd512e3a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 02d58a067fb5f0db32c254e783170f9f283aeb9d) Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/net/plugin_response_interceptor_url_loader_throttle.h')
-rw-r--r--src/core/net/plugin_response_interceptor_url_loader_throttle.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/net/plugin_response_interceptor_url_loader_throttle.h b/src/core/net/plugin_response_interceptor_url_loader_throttle.h
index 0e10b2124..d4ff87846 100644
--- a/src/core/net/plugin_response_interceptor_url_loader_throttle.h
+++ b/src/core/net/plugin_response_interceptor_url_loader_throttle.h
@@ -54,8 +54,7 @@ namespace QtWebEngineCore {
class PluginResponseInterceptorURLLoaderThrottle : public blink::URLLoaderThrottle
{
public:
- PluginResponseInterceptorURLLoaderThrottle(content::BrowserContext *browser_context,
- network::mojom::RequestDestination request_destination,
+ PluginResponseInterceptorURLLoaderThrottle(network::mojom::RequestDestination request_destination,
int frame_tree_node_id);
~PluginResponseInterceptorURLLoaderThrottle() override = default;
@@ -67,7 +66,6 @@ private:
// layer chance to initialize its browser side state.
void ResumeLoad();
- content::BrowserContext *m_browser_context = nullptr;
const network::mojom::RequestDestination m_request_destination;
const int m_frame_tree_node_id;