| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 5ff5ec2095a3e0d4142be4b56259878f7939e096..210248d31cd52514ad5912bec6998e22bc9c0ccc 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -669,6 +669,20 @@ PassRefPtrWillBeRawPtr<PagePopupController> Internals::pagePopupController()
|
| return s_pagePopupDriver ? s_pagePopupDriver->pagePopupController() : 0;
|
| }
|
|
|
| +LocalDOMWindow* Internals::pagePopupWindow() const
|
| +{
|
| + Document* document = contextDocument();
|
| + if (!document)
|
| + return nullptr;
|
| + Page* page = document->page();
|
| + if (!page)
|
| + return nullptr;
|
| + PagePopupDriver* pagePopupDriver = page->chrome().client().pagePopupDriver();
|
| + if (!pagePopupDriver)
|
| + return nullptr;
|
| + return pagePopupDriver->pagePopupWindow();
|
| +}
|
| +
|
| PassRefPtrWillBeRawPtr<ClientRect> Internals::absoluteCaretBounds(ExceptionState& exceptionState)
|
| {
|
| Document* document = contextDocument();
|
|
|