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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::back (Closed)
Patch Set: rebase Created 4 years, 1 month 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 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 String designMode() const; 926 String designMode() const;
927 void setDesignMode(const String&); 927 void setDesignMode(const String&);
928 928
929 Document* parentDocument() const; 929 Document* parentDocument() const;
930 Document& topDocument() const; 930 Document& topDocument() const;
931 Document* contextDocument(); 931 Document* contextDocument();
932 932
933 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } 933 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); }
934 934
935 Element* currentScript() const { 935 Element* currentScript() const {
936 return !m_currentScriptStack.isEmpty() ? m_currentScriptStack.last().get() 936 return !m_currentScriptStack.isEmpty() ? m_currentScriptStack.back().get()
937 : nullptr; 937 : nullptr;
938 } 938 }
939 void currentScriptForBinding(HTMLScriptElementOrSVGScriptElement&) const; 939 void currentScriptForBinding(HTMLScriptElementOrSVGScriptElement&) const;
940 void pushCurrentScript(Element*); 940 void pushCurrentScript(Element*);
941 void popCurrentScript(); 941 void popCurrentScript();
942 942
943 void setTransformSource(std::unique_ptr<TransformSource>); 943 void setTransformSource(std::unique_ptr<TransformSource>);
944 TransformSource* transformSource() const { return m_transformSource.get(); } 944 TransformSource* transformSource() const { return m_transformSource.get(); }
945 945
946 void incDOMTreeVersion() { 946 void incDOMTreeVersion() {
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1713 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1713 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1714 1714
1715 } // namespace blink 1715 } // namespace blink
1716 1716
1717 #ifndef NDEBUG 1717 #ifndef NDEBUG
1718 // Outside the WebCore namespace for ease of invocation from gdb. 1718 // Outside the WebCore namespace for ease of invocation from gdb.
1719 CORE_EXPORT void showLiveDocumentInstances(); 1719 CORE_EXPORT void showLiveDocumentInstances();
1720 #endif 1720 #endif
1721 1721
1722 #endif // Document_h 1722 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/MatchResult.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698