Store user defaults in a non-mutable CFDictionaryRef
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2007 21:24:38 +0000 (21:24 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2007 21:24:38 +0000 (21:24 +0000)
commit31c9860a28d553b8804d53e0f85495db525693dd
tree5af21a9b295c25134ba95e699b00460552c80b32
parentfd99e411267f03f69f048867b78351cbdaf24028
    Store user defaults in a non-mutable CFDictionaryRef

        Also renamed WebPreferences' static members:
            m_standardPreferences -> s_standardPreferences
            m_standardUserDefaults -> s_defaultSettings

        Reviewed by Darin and John.

        * WebPreferences.cpp:
        (WebPreferences::getInstanceForIdentifier):
        (WebPreferences::initializeUserDefaults): Construct the dictionary as a
        local CFMutableDictionaryRef, then assign it to the non-mutable static
        member.
        (WebPreferences::valueForKey):
        (WebPreferences::removeDefaultsIfNeeded):
        (WebPreferences::standardPreferences):
        * WebPreferences.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/win/ChangeLog
WebKit/win/WebPreferences.cpp
WebKit/win/WebPreferences.h