Changeset 73149 in webkit
- Timestamp:
- Dec 2, 2010 10:07:24 AM (13 years ago)
- Location:
- trunk/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/mac/ChangeLog
r73143 r73149 1 2010-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 1 12 2010-12-02 John Sullivan <sullivan@apple.com> 2 13 -
trunk/WebKit/mac/Plugins/WebPluginController.mm
r63844 r73149 175 175 LOG(Plugins, "starting WebKit plugins : %@", [_views description]); 176 176 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++) { 179 179 id aView = [_views objectAtIndex:i]; 180 180 if ([aView respondsToSelector:@selector(webPlugInStart)]) { … … 198 198 } 199 199 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++) 202 202 [self stopOnePlugin:[_views objectAtIndex:i]]; 203 203 204 204 #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++) 207 207 [self stopOnePlugin:[_viewsNotInDocument objectAtIndex:i]]; 208 208 #endif … … 334 334 [self _cancelOutstandingChecks]; 335 335 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++) { 338 338 id aView = [_views objectAtIndex:i]; 339 339 [self destroyOnePlugin:aView]; … … 349 349 350 350 #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++) 353 353 [self destroyOnePlugin:[_viewsNotInDocument objectAtIndex:i]]; 354 354 #endif
Note: See TracChangeset
for help on using the changeset viewer.