Title: [149286] trunk/Source/WebKit2
Revision
149286
Author
ander...@apple.com
Date
2013-04-29 08:30:19 -0700 (Mon, 29 Apr 2013)

Log Message

Stop using range-based for syntax
https://bugs.webkit.org/show_bug.cgi?id=115356

Reviewed by Andreas Kling.

* PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::didClose):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (149285 => 149286)


--- trunk/Source/WebKit2/ChangeLog	2013-04-29 15:22:32 UTC (rev 149285)
+++ trunk/Source/WebKit2/ChangeLog	2013-04-29 15:30:19 UTC (rev 149286)
@@ -1,3 +1,13 @@
+2013-04-29  Anders Carlsson  <ander...@apple.com>
+
+        Stop using range-based for syntax
+        https://bugs.webkit.org/show_bug.cgi?id=115356
+
+        Reviewed by Andreas Kling.
+
+        * PluginProcess/WebProcessConnection.cpp:
+        (WebKit::WebProcessConnection::didClose):
+
 2013-04-29  Sergio Correia  <sergio.corr...@openbossa.org>
 
         [EFL][WK2]: WebProcessMain: hide call to ecore_x_shutdown() under guard

Modified: trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp (149285 => 149286)


--- trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp	2013-04-29 15:22:32 UTC (rev 149285)
+++ trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp	2013-04-29 15:30:19 UTC (rev 149286)
@@ -167,8 +167,8 @@
     // The web process crashed. Destroy all the plug-in controllers. Destroying the last plug-in controller
     // will cause the web process connection itself to be destroyed.
     Vector<PluginControllerProxy*> pluginControllers;
-    for (auto& pluginController: m_pluginControllers.values())
-        pluginControllers.append(pluginController.get());
+    for (auto it = m_pluginControllers.values().begin(), end = m_pluginControllers.values().end(); it != end; ++it)
+        pluginControllers.append(it->get());
 
     for (size_t i = 0; i < pluginControllers.size(); ++i)
         destroyPluginControllerProxy(pluginControllers[i]);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to