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

Unified Diff: components/autofill/core/browser/autofill_external_delegate_unittest.cc

Issue 2060943008: Fix compilation with clang shipped with Xcode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_external_delegate_unittest.cc
diff --git a/components/autofill/core/browser/autofill_external_delegate_unittest.cc b/components/autofill/core/browser/autofill_external_delegate_unittest.cc
index 782f07c22620b025d15d4125b07c32266b7da362..fab6c933fb760c0198e3496576312a874ea2694b 100644
--- a/components/autofill/core/browser/autofill_external_delegate_unittest.cc
+++ b/components/autofill/core/browser/autofill_external_delegate_unittest.cc
@@ -136,9 +136,8 @@ class AutofillExternalDelegateUnitTest : public testing::Test {
FormFieldData field;
field.is_focusable = true;
field.should_autocomplete = true;
- const gfx::RectF element_bounds;
- external_delegate_->OnQuery(query_id, form, field, element_bounds);
+ external_delegate_->OnQuery(query_id, form, field, gfx::RectF());
}
void IssueOnSuggestionsReturned() {
@@ -585,9 +584,8 @@ TEST_F(AutofillExternalDelegateUnitTest, IgnoreAutocompleteOffForAutofill) {
FormFieldData field;
field.is_focusable = true;
field.should_autocomplete = false;
- const gfx::RectF element_bounds;
- external_delegate_->OnQuery(kQueryId, form, field, element_bounds);
+ external_delegate_->OnQuery(kQueryId, form, field, gfx::RectF());
std::vector<Suggestion> autofill_items;
autofill_items.push_back(Suggestion());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698