| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 018ad380a91228ac514394c68c6297dacf0074ee..0740120550454db541d687d19f29f471cdfac4e7 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -1325,7 +1325,7 @@ void LocalDOMWindow::cancelIdleCallback(int id)
|
| CustomElementsRegistry* LocalDOMWindow::customElements() const
|
| {
|
| if (!m_customElements)
|
| - m_customElements = CustomElementsRegistry::create();
|
| + m_customElements = CustomElementsRegistry::create(frame()->script().isolate());
|
| return m_customElements.get();
|
| }
|
|
|
|
|