Changeset 25193 in webkit
- Timestamp:
- Aug 22, 2007, 4:56:13 PM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r25192 r25193 1 2007-08-22 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Adam. 4 5 <rdar://problem/5430584> 6 http://bugs.webkit.org/show_bug.cgi?id=15053 7 WebKit does not check Windows Registry HKEY_CURRENT_USER for NPAPI plugin locations 8 9 * plugins/win/PluginDatabaseWin.cpp: 10 (WebCore::addPluginsFromRegistry): 11 (WebCore::PluginDatabaseWin::getPluginsInPaths): 12 1 13 2007-08-22 Justin Garcia <justin.garcia@apple.com> 2 14 -
trunk/WebCore/plugins/win/PluginDatabaseWin.cpp
r23877 r25193 120 120 } 121 121 122 static inline void addPluginsFromRegistry( PluginSet& plugins)122 static inline void addPluginsFromRegistry(HKEY rootKey, PluginSet& plugins) 123 123 { 124 124 HKEY key; 125 HRESULT result = RegOpenKeyExW( HKEY_LOCAL_MACHINE, L"Software\\MozillaPlugins", 0, KEY_ENUMERATE_SUB_KEYS, &key);125 HRESULT result = RegOpenKeyExW(rootKey, L"Software\\MozillaPlugins", 0, KEY_ENUMERATE_SUB_KEYS, &key); 126 126 127 127 if (result != ERROR_SUCCESS) … … 209 209 } 210 210 211 addPluginsFromRegistry(plugins); 211 addPluginsFromRegistry(HKEY_LOCAL_MACHINE, plugins); 212 addPluginsFromRegistry(HKEY_CURRENT_USER, plugins); 212 213 213 214 // If both the old and new WMP plugin are present in the plugins set,
Note:
See TracChangeset
for help on using the changeset viewer.