Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: components/test_runner/web_test_proxy.cc

Issue 1541713002: Revert of Support device scale factor test with popups in LayoutTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/test_runner/web_test_delegate.h ('k') | content/shell/browser/blink_test_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 66e76ee2e21098dabc995ca6c537e1aca78384ed..1293ad3a669cc7c15208d07509a7c83db9aa86ea 100644
--- a/components/test_runner/web_test_proxy.cc
+++ b/components/test_runner/web_test_proxy.cc
@@ -670,8 +670,7 @@ 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(
- delegate_->ConvertDIPToNative(popup->positionRelativeToOwner()));
+ capture_callback->set_popup_position(popup->positionRelativeToOwner());
popup->compositeAndReadbackAsync(capture_callback);
}
}
« no previous file with comments | « components/test_runner/web_test_delegate.h ('k') | content/shell/browser/blink_test_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698