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

Unified Diff: chrome/renderer/autofill/form_autofill_browsertest.cc

Issue 2421383003: Add operator==(const GURL&, const StringPiece&) to gurl.h (Closed)
Patch Set: remove comment Created 4 years, 2 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
Index: chrome/renderer/autofill/form_autofill_browsertest.cc
diff --git a/chrome/renderer/autofill/form_autofill_browsertest.cc b/chrome/renderer/autofill/form_autofill_browsertest.cc
index 1e989a16e23771f30674faf40cef6edbdd4c2302..f793a2f5eb5e0b2cea4ec5a874909f2ad354cf9a 100644
--- a/chrome/renderer/autofill/form_autofill_browsertest.cc
+++ b/chrome/renderer/autofill/form_autofill_browsertest.cc
@@ -4452,7 +4452,7 @@ TEST_F(FormAutofillTest,
&form, nullptr));
EXPECT_TRUE(form.name.empty());
- EXPECT_EQ(frame->document().url(), form.origin);
+ EXPECT_EQ(GURL(frame->document().url()), form.origin);
EXPECT_FALSE(form.action.is_valid());
const std::vector<FormFieldData>& fields = form.fields;
@@ -4512,7 +4512,7 @@ TEST_F(FormAutofillTest,
&form, nullptr));
EXPECT_TRUE(form.name.empty());
- EXPECT_EQ(frame->document().url(), form.origin);
+ EXPECT_EQ(GURL(frame->document().url()), form.origin);
EXPECT_FALSE(form.action.is_valid());
const std::vector<FormFieldData>& fields = form.fields;

Powered by Google App Engine
This is Rietveld 408576698