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

Unified Diff: components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 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
Index: components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc
diff --git a/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc b/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc
index 699caa9cb773973b22e032a279d778d5edcf2810..74f793ecca71518168ad96fd26e742636111860f 100644
--- a/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc
+++ b/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc
@@ -27,7 +27,7 @@
using blink::WebFormControlElement;
using blink::WebFormElement;
-using blink::WebFrame;
+using blink::WebLocalFrame;
using blink::WebInputElement;
using blink::WebVector;
@@ -242,7 +242,7 @@ class MAYBE_PasswordFormConversionUtilsTest : public content::RenderViewTest {
void LoadWebFormFromHTML(const std::string& html, WebFormElement* form) {
LoadHTML(html.c_str());
- WebFrame* frame = GetMainFrame();
+ WebLocalFrame* frame = GetMainFrame();
ASSERT_NE(nullptr, frame);
WebVector<WebFormElement> forms;

Powered by Google App Engine
This is Rietveld 408576698