Index: components/autofill/core/browser/test_autofill_driver.cc |
diff --git a/components/autofill/core/browser/test_autofill_driver.cc b/components/autofill/core/browser/test_autofill_driver.cc |
index 38a83ed7d1b9b2240d36e2a8d1990cfe4d922eb9..906b55e11faae05011aff0bf175d6632552acfd6 100644 |
--- a/components/autofill/core/browser/test_autofill_driver.cc |
+++ b/components/autofill/core/browser/test_autofill_driver.cc |
@@ -6,6 +6,7 @@ |
#include "base/test/sequenced_worker_pool_owner.h" |
#include "base/threading/sequenced_worker_pool.h" |
+#include "ui/gfx/geometry/rect_f.h" |
namespace autofill { |
@@ -71,4 +72,9 @@ void TestAutofillDriver::RendererShouldPreviewFieldWithValue( |
void TestAutofillDriver::PopupHidden() { |
} |
+gfx::RectF TestAutofillDriver::TransformBoundingBoxToViewportCoordinates( |
+ const gfx::RectF& bounding_box) { |
+ return bounding_box; |
+} |
+ |
} // namespace autofill |