| Index: Source/core/dom/Fullscreen.cpp
|
| diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
|
| index bf649f1a2968d3bd717dda877a02a036df490cfe..7cd7407679300aa3c76c8c873c66d51e384efd09 100644
|
| --- a/Source/core/dom/Fullscreen.cpp
|
| +++ b/Source/core/dom/Fullscreen.cpp
|
| @@ -339,11 +339,11 @@ void Fullscreen::exitFullscreen()
|
|
|
| // 4. For each descendant in descendants, empty descendant's fullscreen element stack, and queue a
|
| // task to fire an event named fullscreenchange with its bubbles attribute set to true on descendant.
|
| - for (WillBeHeapDeque<RefPtrWillBeMember<Document> >::iterator i = descendants.begin(); i != descendants.end(); ++i) {
|
| - ASSERT(*i);
|
| - RequestType requestType = from(**i).m_fullScreenElementStack.last().second;
|
| - from(**i).clearFullscreenElementStack();
|
| - enqueueChangeEvent(**i, requestType);
|
| + for (auto i : descendants) {
|
| + ASSERT(i);
|
| + RequestType requestType = from(*i).m_fullScreenElementStack.last().second;
|
| + from(*i).clearFullscreenElementStack();
|
| + enqueueChangeEvent(*i, requestType);
|
| }
|
|
|
| // 5. While doc is not null, run these substeps:
|
|
|