Changeset 66307 in webkit


Ignore:
Timestamp:
Aug 28, 2010 9:14:19 AM (14 years ago)
Author:
dbates@webkit.org
Message:

2010-08-28 Daniel Bates <dbates@rim.com>

Attempt to fix the Qt Windows and Qt Linux Release minimal builds
after changeset 66297 <http://trac.webkit.org/changeset/66297>.

  • Api/qwebplugindatabase.cpp: (QWebPluginDatabase::plugins): Wrap the call to PluginPackage::ensurePluginLoaded in #if ENABLE(NETSCAPE_PLUGIN_METADATA_CACHE).
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/Api/qwebplugindatabase.cpp

    r66297 r66307  
    285285    for (unsigned int i = 0; i < plugins.size(); ++i) {
    286286        PluginPackage* plugin = plugins[i];
    287         if (plugin->ensurePluginLoaded())
    288             qwebplugins.append(QWebPluginInfo(plugin));
     287#if ENABLE(NETSCAPE_PLUGIN_METADATA_CACHE)
     288        if (!plugin->ensurePluginLoaded())
     289            continue;
     290#endif
     291        qwebplugins.append(QWebPluginInfo(plugin));
    289292    }
    290293
  • trunk/WebKit/qt/ChangeLog

    r66298 r66307  
     12010-08-28  Daniel Bates  <dbates@rim.com>
     2
     3        Attempt to fix the Qt Windows and Qt Linux Release minimal builds
     4        after changeset 66297 <http://trac.webkit.org/changeset/66297>.
     5
     6        * Api/qwebplugindatabase.cpp:
     7        (QWebPluginDatabase::plugins): Wrap the call to PluginPackage::ensurePluginLoaded
     8        in #if ENABLE(NETSCAPE_PLUGIN_METADATA_CACHE).
     9
    1102010-08-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
    211
Note: See TracChangeset for help on using the changeset viewer.