| Index: Source/core/dom/DocumentStyleSheetCollection.cpp
|
| diff --git a/Source/core/dom/DocumentStyleSheetCollection.cpp b/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| index bb49a1201005ac62f7aef0b957e7d5c2d5759ee1..89889154d5e4ab996a8f1525f7a811bb67d5bac1 100644
|
| --- a/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| +++ b/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| @@ -45,10 +45,7 @@ DocumentStyleSheetCollection::DocumentStyleSheetCollection(TreeScope& treeScope)
|
|
|
| void DocumentStyleSheetCollection::collectStyleSheetsFromCandidates(StyleEngine* engine, DocumentStyleSheetCollector& collector)
|
| {
|
| - DocumentOrderedList::iterator begin = m_styleSheetCandidateNodes.begin();
|
| - DocumentOrderedList::iterator end = m_styleSheetCandidateNodes.end();
|
| - for (DocumentOrderedList::iterator it = begin; it != end; ++it) {
|
| - Node* n = *it;
|
| + for (Node* n : m_styleSheetCandidateNodes) {
|
| StyleSheetCandidate candidate(*n);
|
|
|
| ASSERT(!candidate.isXSL());
|
|
|