Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Side by Side Diff: third_party/WebKit/Source/core/dom/Fullscreen.cpp

Issue 2574773002: Migrate WTF::Vector::append() to ::push_back() [part 4 of N] (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 813
814 void Fullscreen::popFullscreenElementStack() { 814 void Fullscreen::popFullscreenElementStack() {
815 if (m_fullscreenElementStack.isEmpty()) 815 if (m_fullscreenElementStack.isEmpty())
816 return; 816 return;
817 817
818 m_fullscreenElementStack.pop_back(); 818 m_fullscreenElementStack.pop_back();
819 } 819 }
820 820
821 void Fullscreen::pushFullscreenElementStack(Element& element, 821 void Fullscreen::pushFullscreenElementStack(Element& element,
822 RequestType requestType) { 822 RequestType requestType) {
823 m_fullscreenElementStack.append(std::make_pair(&element, requestType)); 823 m_fullscreenElementStack.push_back(std::make_pair(&element, requestType));
824 } 824 }
825 825
826 DEFINE_TRACE(Fullscreen) { 826 DEFINE_TRACE(Fullscreen) {
827 visitor->trace(m_pendingFullscreenElement); 827 visitor->trace(m_pendingFullscreenElement);
828 visitor->trace(m_fullscreenElementStack); 828 visitor->trace(m_fullscreenElementStack);
829 visitor->trace(m_currentFullScreenElement); 829 visitor->trace(m_currentFullScreenElement);
830 visitor->trace(m_eventQueue); 830 visitor->trace(m_eventQueue);
831 Supplement<Document>::trace(visitor); 831 Supplement<Document>::trace(visitor);
832 ContextLifecycleObserver::trace(visitor); 832 ContextLifecycleObserver::trace(visitor);
833 } 833 }
834 834
835 } // namespace blink 835 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698