| Index: Source/core/dom/ScriptedAnimationController.cpp
|
| diff --git a/Source/core/dom/ScriptedAnimationController.cpp b/Source/core/dom/ScriptedAnimationController.cpp
|
| index a453e295e9de77839d74fad19472ebcc9e465db2..aa60ee2c0e637e94b3dc8112506babf90c836475 100644
|
| --- a/Source/core/dom/ScriptedAnimationController.cpp
|
| +++ b/Source/core/dom/ScriptedAnimationController.cpp
|
| @@ -194,9 +194,8 @@ void ScriptedAnimationController::callMediaQueryListListeners()
|
| MediaQueryListListeners listeners;
|
| listeners.swap(m_mediaQueryListListeners);
|
|
|
| - for (MediaQueryListListeners::const_iterator it = listeners.begin(), end = listeners.end();
|
| - it != end; ++it) {
|
| - (*it)->notifyMediaQueryChanged();
|
| + for (const auto& it : listeners) {
|
| + it->notifyMediaQueryChanged();
|
| }
|
| }
|
|
|
|
|