Add WebPreferences::sharedStandardPreferences
This is a convenience method to get the standard preferences object so
that within WebKit we don't have to deal with the fact that COM doesn't
support static methods.
Reviewed by Ada.
* WebHistory.cpp:
(WebHistory::WebHistory): Use sharedStandardPreferences.
* WebIconDatabase.cpp:
(WebIconDatabase::init): Ditto.
* WebPreferences.cpp:
(WebPreferences::sharedStandardPreferences): Added.
(WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences.
(WebPreferences::standardPreferences): Ditto.
* WebPreferences.h:
* WebView.cpp:
(WebView::preferences): Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25139
268f45cc-cd09-0410-ab3c-
d52691b4dbfc