summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_delegate_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-05-28 17:07:35 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-05-29 11:17:27 +0200
commit391a6322511bb189b7d7cc094e34a34ae6495820 (patch)
tree8eaedb5d053575e7f2eddd0a6cb0f0e6ae0d6cab /src/core/web_contents_delegate_qt.cpp
parentaf313cb881610fedb04c9d486597462e6b3c8e12 (diff)
parent1b1411c589cb7ed29916762bcfedbbb68e657d2f (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'src/core/web_contents_delegate_qt.cpp')
-rw-r--r--src/core/web_contents_delegate_qt.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/web_contents_delegate_qt.cpp b/src/core/web_contents_delegate_qt.cpp
index a8c390c41..8a3757838 100644
--- a/src/core/web_contents_delegate_qt.cpp
+++ b/src/core/web_contents_delegate_qt.cpp
@@ -526,17 +526,6 @@ void WebContentsDelegateQt::ActivateContents(content::WebContents* contents)
contents->Focus();
}
-void WebContentsDelegateQt::RenderViewHostChanged(content::RenderViewHost *old_host, content::RenderViewHost *new_host)
-{
- Q_ASSERT(new_host);
-
- // The old RVH can be nullptr if it was shut down.
- if (!old_host)
- return;
-
- new_host->UpdateWebkitPreferences(old_host->GetWebkitPreferences());
-}
-
void WebContentsDelegateQt::RequestToLockMouse(content::WebContents *web_contents, bool user_gesture, bool last_unlocked_by_target)
{
Q_UNUSED(user_gesture);