Index: Source/core/loader/FrameLoader.cpp |
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp |
index 80fecd0e72adc37fb79a440c7755264ad04552d2..b0d70c47ce2f6f6330a0cf914f168898c83fe43f 100644 |
--- a/Source/core/loader/FrameLoader.cpp |
+++ b/Source/core/loader/FrameLoader.cpp |
@@ -1258,9 +1258,8 @@ bool FrameLoader::dispatchNavigationTransitionData() |
if (elementData.isEmpty() || !validateTransitionNavigationMode()) |
return false; |
- Vector<Document::TransitionElementData>::iterator iter = elementData.begin(); |
- for (; iter != elementData.end(); ++iter) |
- client()->dispatchAddNavigationTransitionData(*iter); |
+ for (auto& element : elementData) |
+ client()->dispatchAddNavigationTransitionData(element); |
return true; |
} |