| Index: third_party/WebKit/Source/core/dom/Document.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
|
| index fb3246d9d7b5a0fca90587ecaca1ba190b6c5148..6f8acbe09c9001ca609c338db2c7e9e990ff6fb3 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.h
|
| +++ b/third_party/WebKit/Source/core/dom/Document.h
|
| @@ -933,7 +933,7 @@ class CORE_EXPORT Document : public ContainerNode,
|
| ScriptRunner* scriptRunner() { return m_scriptRunner.get(); }
|
|
|
| Element* currentScript() const {
|
| - return !m_currentScriptStack.isEmpty() ? m_currentScriptStack.last().get()
|
| + return !m_currentScriptStack.isEmpty() ? m_currentScriptStack.back().get()
|
| : nullptr;
|
| }
|
| void currentScriptForBinding(HTMLScriptElementOrSVGScriptElement&) const;
|
|
|