[BlackBerry] Simplify AuthenticationChallengeManager::instance
authorRob Buis <rwlbuis@webkit.org>
Mon, 29 Oct 2012 21:53:53 +0000 (21:53 +0000)
committerRob Buis <rwlbuis@webkit.org>
Mon, 29 Oct 2012 21:53:53 +0000 (21:53 +0000)
commit11f0112cb4b4334bf71c745c29562bbaeb4542be
treea38a7add15bcca75e7020d6a7afeb5c8369c47af
parent3a5eb1cd7b0b65e0534b8e83d2f0990a2b3f41e0
[BlackBerry] Simplify AuthenticationChallengeManager::instance
https://bugs.webkit.org/show_bug.cgi?id=100614

Reviewed by Yong Li.
Internally reviewed by Lyon Chen.

Source/WebCore:

Use a standard Singleton pattern here, this makes sure we create lazily.

* platform/blackberry/AuthenticationChallengeManager.cpp:
(WebCore):
* platform/blackberry/AuthenticationChallengeManager.h:
(AuthenticationChallengeManager):

Source/WebKit/blackberry:

No need to call AuthenticationChallengeManager::init anymore.

* Api/BlackBerryGlobal.cpp:
(BlackBerry::WebKit::globalInitialize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/blackberry/AuthenticationChallengeManager.cpp
Source/WebCore/platform/blackberry/AuthenticationChallengeManager.h
Source/WebKit/blackberry/Api/BlackBerryGlobal.cpp
Source/WebKit/blackberry/ChangeLog