Changeset 73149 in webkit


Ignore:
Timestamp:
Dec 2, 2010 10:07:24 AM (13 years ago)
Author:
Joseph Pecoraro
Message:

2010-12-02 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Eric Carlson.

Style Fixes in WebPluginController
https://bugs.webkit.org/show_bug.cgi?id=50397

  • Plugins/WebPluginController.mm: (-[WebPluginController startAllPlugins]): (-[WebPluginController stopAllPlugins]):
Location:
trunk/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/mac/ChangeLog

    r73143 r73149  
     12010-12-02  Joseph Pecoraro  <joepeck@webkit.org>
     2
     3        Reviewed by Eric Carlson.
     4
     5        Style Fixes in WebPluginController
     6        https://bugs.webkit.org/show_bug.cgi?id=50397
     7
     8        * Plugins/WebPluginController.mm:
     9        (-[WebPluginController startAllPlugins]):
     10        (-[WebPluginController stopAllPlugins]):
     11
    1122010-12-02  John Sullivan  <sullivan@apple.com>
    213
  • trunk/WebKit/mac/Plugins/WebPluginController.mm

    r63844 r73149  
    175175        LOG(Plugins, "starting WebKit plugins : %@", [_views description]);
    176176   
    177     int i, count = [_views count];
    178     for (i = 0; i < count; i++) {
     177    int count = [_views count];
     178    for (int i = 0; i < count; i++) {
    179179        id aView = [_views objectAtIndex:i];
    180180        if ([aView respondsToSelector:@selector(webPlugInStart)]) {
     
    198198    }
    199199   
    200     int i, count = [_views count];
    201     for (i = 0; i < count; i++)
     200    int viewsCount = [_views count];
     201    for (int i = 0; i < viewsCount; i++)
    202202        [self stopOnePlugin:[_views objectAtIndex:i]];
    203203
    204204#if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
    205     count = [_viewsNotInDocument count];
    206     for (i = 0; i < count; i++)
     205    int viewsNotInDocumentCount = [_viewsNotInDocument count];
     206    for (int i = 0; i < viewsNotInDocumentCount; i++)
    207207        [self stopOnePlugin:[_viewsNotInDocument objectAtIndex:i]];
    208208#endif
     
    334334    [self _cancelOutstandingChecks];
    335335   
    336     int i, count = [_views count];
    337     for (i = 0; i < count; i++) {
     336    int viewsCount = [_views count];
     337    for (int i = 0; i < viewsCount; i++) {
    338338        id aView = [_views objectAtIndex:i];
    339339        [self destroyOnePlugin:aView];
     
    349349
    350350#if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
    351     count = [_viewsNotInDocument count];
    352     for (i = 0; i < count; i++)
     351    int viewsNotInDocumentCount = [_viewsNotInDocument count];
     352    for (int i = 0; i < viewsNotInDocumentCount; i++)
    353353        [self destroyOnePlugin:[_viewsNotInDocument objectAtIndex:i]];
    354354#endif
Note: See TracChangeset for help on using the changeset viewer.