summaryrefslogtreecommitdiffstats
path: root/src/core/render_widget_host_view_qt.cpp
diff options
context:
space:
mode:
authorBalazs Egedi <egedib@inf.u-szeged.hu>2021-04-23 20:34:18 +0200
committerBalazs Egedi <egedib@inf.u-szeged.hu>2021-05-02 14:00:58 +0000
commitf1245189d27b1826d8708bd042e2e29e8702bee2 (patch)
treef3a8fc11973be7f4ee2b6222eb91c0e54d999905 /src/core/render_widget_host_view_qt.cpp
parentb9b52cdff21baca25b1690bd497d949d01b0b493 (diff)
Fix compile warnings
Remove unused code and fix comparison between enum types. Change-Id: I78244462bea1e968a6bdff2db5b7ebad60bd25b4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/render_widget_host_view_qt.cpp')
-rw-r--r--src/core/render_widget_host_view_qt.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/render_widget_host_view_qt.cpp b/src/core/render_widget_host_view_qt.cpp
index 61fae5dca..a35ab1b2d 100644
--- a/src/core/render_widget_host_view_qt.cpp
+++ b/src/core/render_widget_host_view_qt.cpp
@@ -411,7 +411,6 @@ void RenderWidgetHostViewQt::UpdateBackgroundColor()
m_rootLayer->SetColor(color);
m_uiCompositor->SetBackgroundColor(color);
- content::RenderViewHost *rvh = content::RenderViewHost::From(host());
if (color == SK_ColorTRANSPARENT)
host()->owner_delegate()->SetBackgroundOpaque(false);
}