diff options
Diffstat (limited to 'Source/WebKit2/Shared/WebPreferencesStore.cpp')
-rw-r--r-- | Source/WebKit2/Shared/WebPreferencesStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit2/Shared/WebPreferencesStore.cpp b/Source/WebKit2/Shared/WebPreferencesStore.cpp index 4f49bb786..746df10a4 100644 --- a/Source/WebKit2/Shared/WebPreferencesStore.cpp +++ b/Source/WebKit2/Shared/WebPreferencesStore.cpp @@ -151,7 +151,7 @@ static typename MapType::MappedType valueForKey(const MapType& map, const typena { typename MapType::const_iterator it = map.find(key); if (it != map.end()) - return it->value; + return it->second; return defaultValueForKey<typename MapType::MappedType>(key); } @@ -187,7 +187,7 @@ bool WebPreferencesStore::getBoolValueForKey(const String& key) const // FIXME: Extend overriding to other key types used from TestRunner. BoolOverridesMap::const_iterator it = boolTestRunnerOverridesMap().find(key); if (it != boolTestRunnerOverridesMap().end()) - return it->value; + return it->second; return valueForKey(m_boolValues, key); } |