| Index: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| index 98391e7f2cc4021aee338c0a9d23f41fe3e52b95..e6a5f1186594c3bcae3e447e903b0e01fb5998f6 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| @@ -762,7 +762,7 @@ inline Document& HTMLConstructionSite::ownerDocumentForCurrentNode()
|
| CustomElementDefinition* HTMLConstructionSite::lookUpCustomElementDefinition(Document& document, AtomicHTMLToken* token)
|
| {
|
| // "2. If document does not have a browsing context, return null."
|
| - LocalDOMWindow* window = document.domWindow();
|
| + LocalDOMWindow* window = document.executingWindow();
|
| if (!window)
|
| return nullptr;
|
|
|
|
|