Commit 86045d26 authored by treat@webkit.org's avatar treat@webkit.org

2009-07-27 Jakub Wieczorek <faw217@gmail.com>

         Reviewed by Adam Treat.

         When clearing the plugin database, clear also the timestamp map.

         https://bugs.webkit.org/show_bug.cgi?id=27651

         Currently, if we clear the database, it will still think that it is up
         to date with the plugin directories so refreshing the database again
         after changing the search paths may not work.

         * plugins/PluginDatabase.cpp:
         (WebCore::PluginDatabase::clear):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5f54ee1d
2009-07-27 Jakub Wieczorek <faw217@gmail.com>
Reviewed by Adam Treat.
When clearing the plugin database, clear also the timestamp map.
https://bugs.webkit.org/show_bug.cgi?id=27651
Currently, if we clear the database, it will still think that it is up
to date with the plugin directories so refreshing the database again
after changing the search paths may not work.
* plugins/PluginDatabase.cpp:
(WebCore::PluginDatabase::clear):
2009-07-27 Albert J. Wong <ajwong@chromium.org>
Reviewed by David Levin.
......
......@@ -271,7 +271,7 @@ void PluginDatabase::clear()
{
m_plugins.clear();
m_pluginsByPath.clear();
m_pluginPathsWithTimes.clear();
m_registeredMIMETypes.clear();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment