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

Unified Diff: components/autofill/content/renderer/password_form_conversion_utils.h

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.h
diff --git a/components/autofill/content/renderer/password_form_conversion_utils.h b/components/autofill/content/renderer/password_form_conversion_utils.h
index 3e4f4029051150d3e8afb3ae078ef55e4c1e24de..7385d2fb19d5af01214011db069f4cad80f4393d 100644
--- a/components/autofill/content/renderer/password_form_conversion_utils.h
+++ b/components/autofill/content/renderer/password_form_conversion_utils.h
@@ -7,6 +7,8 @@
#include <map>
#include <memory>
+#include <string>
+#include <utility>
#include <vector>
#include "base/strings/string_piece.h"
@@ -18,8 +20,8 @@
namespace blink {
class WebFormElement;
class WebFormControlElement;
-class WebFrame;
class WebInputElement;
+class WebLocalFrame;
}
namespace autofill {
@@ -56,7 +58,7 @@ std::unique_ptr<PasswordForm> CreatePasswordFormFromWebForm(
// Same as CreatePasswordFormFromWebForm() but for input elements that are not
// enclosed in <form> element.
std::unique_ptr<PasswordForm> CreatePasswordFormFromUnownedInputElements(
- const blink::WebFrame& frame,
+ const blink::WebLocalFrame& frame,
const FieldValueAndPropertiesMaskMap* nonscript_modified_values,
const FormsPredictionsMap* form_predictions);

Powered by Google App Engine
This is Rietveld 408576698