Add WebPreferences::sharedStandardPreferences
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Aug 2007 02:00:30 +0000 (02:00 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Aug 2007 02:00:30 +0000 (02:00 +0000)
commit31c681c002d3a9f23ed29c582408073fc8b03eee
treea1085b476700f63a64fd4d439dfa10a688742bd3
parent2086ff345361db0e5b744f569a8c6cccd6287f21
 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
WebKit/win/ChangeLog
WebKit/win/WebHistory.cpp
WebKit/win/WebIconDatabase.cpp
WebKit/win/WebPreferences.cpp
WebKit/win/WebPreferences.h
WebKit/win/WebView.cpp