| Index: third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h b/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
|
| index 9fde0738214c910ba6a811d13c3884ebfbe3fb42..f16ce573e81d479d3402eeef95050489e2561480 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
|
| @@ -54,9 +54,9 @@ class TestCustomElementDefinition : public CustomElementDefinition {
|
| ScriptValue getConstructorForScript() override { return ScriptValue(); }
|
|
|
| bool runConstructor(Element* element) override {
|
| - if (constructionStack().isEmpty() || constructionStack().last() != element)
|
| + if (constructionStack().isEmpty() || constructionStack().back() != element)
|
| return false;
|
| - constructionStack().last().clear();
|
| + constructionStack().back().clear();
|
| return true;
|
| }
|
|
|
|
|