| Index: components/test_runner/web_test_proxy.cc
|
| diff --git a/components/test_runner/web_test_proxy.cc b/components/test_runner/web_test_proxy.cc
|
| index 9cd2372263b0ac081f43db23b6c39bb4eb126844..76fa57052f5a7315482ac1cbdb4458b716291ac3 100644
|
| --- a/components/test_runner/web_test_proxy.cc
|
| +++ b/components/test_runner/web_test_proxy.cc
|
| @@ -673,7 +673,8 @@ void WebTestProxyBase::CapturePixelsAsync(
|
| web_widget_->compositeAndReadbackAsync(capture_callback);
|
| if (blink::WebPagePopup* popup = web_widget_->pagePopup()) {
|
| capture_callback->set_wait_for_popup(true);
|
| - capture_callback->set_popup_position(popup->positionRelativeToOwner());
|
| + capture_callback->set_popup_position(
|
| + delegate_->ConvertDIPToNative(popup->positionRelativeToOwner()));
|
| popup->compositeAndReadbackAsync(capture_callback);
|
| }
|
| }
|
|
|