[Qt] Restore URL Scheme Delegates after QtWebProcess crash
authorMilian Wolff <milian.wolff@kdab.com>
Tue, 27 Aug 2013 15:14:18 +0000 (17:14 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 2 Sep 2013 16:09:27 +0000 (18:09 +0200)
commit46eeccf7be809532af652cb57a7cb6f909644404
treecd4423dcbfd9c2009dcc93befade29d6a12e50bf
parente99cdcf1369fd54ea15079766b8a5b3d589fddc0
[Qt] Restore URL Scheme Delegates after QtWebProcess crash

https://bugs.webkit.org/show_bug.cgi?id=108808

When the QtWebProcess crashes, the registered URL Scheme
Delegates are not properly restored over IPC in the newly
launched process instance.

Reviewed by Simon Hausmann.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::didRelaunchProcess):
(QQuickWebViewPrivate::updateSchemeDelegates):
* UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate):

Change-Id: I14493ea1190053e5a523d2cf8a99cc8d526b4fd2
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
Source/WebKit2/UIProcess/API/qt/qquickwebview_p_p.h