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

Unified Diff: components/autofill/content/renderer/form_cache.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/form_cache.cc
diff --git a/components/autofill/content/renderer/form_cache.cc b/components/autofill/content/renderer/form_cache.cc
index 2f360bc0fcbdff20eb9cf34a6172267f09a17cd4..18a102240ebd4d0aec3018a7cc9dd41f82e92e66 100644
--- a/components/autofill/content/renderer/form_cache.cc
+++ b/components/autofill/content/renderer/form_cache.cc
@@ -4,6 +4,10 @@
#include "components/autofill/content/renderer/form_cache.h"
+#include <algorithm>
+#include <string>
+#include <utility>
+
#include "base/logging.h"
#include "base/macros.h"
#include "base/stl_util.h"
@@ -28,7 +32,7 @@ using blink::WebDocument;
using blink::WebElement;
using blink::WebFormControlElement;
using blink::WebFormElement;
-using blink::WebFrame;
+using blink::WebLocalFrame;
using blink::WebInputElement;
using blink::WebNode;
using blink::WebSelectElement;
@@ -82,8 +86,7 @@ bool IsFormInteresting(const FormData& form, size_t num_editable_elements) {
} // namespace
-FormCache::FormCache(const WebFrame& frame) : frame_(frame) {
-}
+FormCache::FormCache(const WebLocalFrame& frame) : frame_(frame) {}
FormCache::~FormCache() {
}
« no previous file with comments | « components/autofill/content/renderer/form_cache.h ('k') | components/autofill/content/renderer/password_autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698