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

Unified Diff: components/autofill/content/renderer/form_cache.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/form_cache.h
diff --git a/components/autofill/content/renderer/form_cache.h b/components/autofill/content/renderer/form_cache.h
index 4afb3a66f9e605e06a42b71f684af8d3dd5d0d38..f2f7775c7121994061dc36c2ddf4370b63d3a158 100644
--- a/components/autofill/content/renderer/form_cache.h
+++ b/components/autofill/content/renderer/form_cache.h
@@ -17,8 +17,8 @@
namespace blink {
class WebFormControlElement;
-class WebFrame;
class WebInputElement;
+class WebLocalFrame;
class WebSelectElement;
}
@@ -29,7 +29,7 @@ struct FormDataPredictions;
// Manages the forms in a single RenderFrame.
class FormCache {
public:
- explicit FormCache(const blink::WebFrame& frame);
+ explicit FormCache(const blink::WebLocalFrame& frame);
~FormCache();
// Scans the DOM in |frame_| extracting and storing forms that have not been
@@ -62,7 +62,7 @@ class FormCache {
const std::vector<blink::WebFormControlElement>& control_elements);
// The frame this FormCache is associated with.
- const blink::WebFrame& frame_;
+ const blink::WebLocalFrame& frame_;
// The cached forms. Used to prevent re-extraction of forms.
std::set<FormData> parsed_forms_;
« no previous file with comments | « components/autofill/content/renderer/form_autofill_util.cc ('k') | components/autofill/content/renderer/form_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698