Commit 8a730fab authored by andersca@apple.com's avatar andersca@apple.com

Fix infinite recursion inside WebProcess constructor

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

Reviewed by Brian Weinstein.

Don't call WebProcess::shared from the WebGeolocationManager constructor since it is invoked from the WebProcess constructor.

* WebProcess/Geolocation/WebGeolocationManager.cpp:
(WebKit::WebGeolocationManager::WebGeolocationManager):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130217 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d79367f1
2012-10-02 Anders Carlsson <andersca@apple.com>
Fix infinite recursion inside WebProcess constructor
https://bugs.webkit.org/show_bug.cgi?id=98206
Reviewed by Brian Weinstein.
Don't call WebProcess::shared from the WebGeolocationManager constructor since it is invoked from the WebProcess constructor.
* WebProcess/Geolocation/WebGeolocationManager.cpp:
(WebKit::WebGeolocationManager::WebGeolocationManager):
2012-10-02 Hugo Parente Lima <hugo.lima@openbossa.org>
[WK2] Move some tiled backing store/viewport functions from Qt to generic WebKit2 sources
......
......@@ -42,7 +42,7 @@ namespace WebKit {
WebGeolocationManager::WebGeolocationManager(WebProcess* process)
: m_process(process)
{
WebProcess::shared().connection()->addMessageReceiver(CoreIPC::MessageClassWebGeolocationManager, this);
m_process.connection()->addMessageReceiver(CoreIPC::MessageClassWebGeolocationManager, this);
}
WebGeolocationManager::~WebGeolocationManager()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment