Changeset 153517 in webkit


Ignore:
Timestamp:
Jul 31, 2013 5:12:10 AM (11 years ago)
Author:
michael.bruning@digia.com
Message:

[Qt][WK1] navigator.plugins shows too few entries.
https://bugs.webkit.org/show_bug.cgi?id=119332

Reviewed by Jocelyn Turcotte.

Based on input by Choon Sik Cho.

PlatformStrategiesQt::getPluginInfo was using the
WTF::Vector::resize method wrongly.

This patch removes the call to Vector::resize as
Vector::append will take care of increasing capacity
if needed.

  • WebCoreSupport/PlatformStrategiesQt.cpp:

(PlatformStrategiesQt::getPluginInfo):

Location:
trunk/Source/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r153516 r153517  
     12013-07-31  Michael Brüning  <michael.bruning@digia.com>
     2
     3        [Qt][WK1] navigator.plugins shows too few entries.
     4        https://bugs.webkit.org/show_bug.cgi?id=119332
     5
     6        Reviewed by Jocelyn Turcotte.
     7
     8        Based on input by Choon Sik Cho.
     9
     10        PlatformStrategiesQt::getPluginInfo was using the
     11        WTF::Vector::resize method wrongly.
     12
     13        This patch removes the call to Vector::resize as
     14        Vector::append will take care of increasing capacity
     15        if needed.
     16
     17        * WebCoreSupport/PlatformStrategiesQt.cpp:
     18        (PlatformStrategiesQt::getPluginInfo):
     19
    1202013-07-31  Deepjyoti Saha  <deesaha@cisco.com>
    221
  • trunk/Source/WebKit/qt/WebCoreSupport/PlatformStrategiesQt.cpp

    r150328 r153517  
    170170    const Vector<PluginPackage*> &plugins = db->plugins();
    171171
    172     outPlugins.resize(plugins.size());
    173 
    174172    for (int i = 0; i < plugins.size(); ++i) {
    175173        PluginInfo info;
Note: See TracChangeset for help on using the changeset viewer.