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

Unified Diff: components/autofill/content/renderer/password_form_conversion_utils.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.cc
diff --git a/components/autofill/content/renderer/password_form_conversion_utils.cc b/components/autofill/content/renderer/password_form_conversion_utils.cc
index c47feeb6fe4f8ba505f2e82111bed5580be60cc3..6b416039a4264ba0b4816e45d95d5b7b1a5d2348 100644
--- a/components/autofill/content/renderer/password_form_conversion_utils.cc
+++ b/components/autofill/content/renderer/password_form_conversion_utils.cc
@@ -29,15 +29,15 @@
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebFormControlElement.h"
-#include "third_party/WebKit/public/web/WebFrame.h"
#include "third_party/WebKit/public/web/WebInputElement.h"
+#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "third_party/re2/src/re2/re2.h"
using blink::WebDocument;
using blink::WebFormControlElement;
using blink::WebFormElement;
-using blink::WebFrame;
using blink::WebInputElement;
+using blink::WebLocalFrame;
using blink::WebString;
namespace autofill {
@@ -711,7 +711,7 @@ std::unique_ptr<PasswordForm> CreatePasswordFormFromWebForm(
}
std::unique_ptr<PasswordForm> CreatePasswordFormFromUnownedInputElements(
- const WebFrame& frame,
+ const WebLocalFrame& frame,
const FieldValueAndPropertiesMaskMap* field_value_and_properties_map,
const FormsPredictionsMap* form_predictions) {
SyntheticForm synthetic_form;

Powered by Google App Engine
This is Rietveld 408576698