Commit 07193eec authored by eugenebut's avatar eugenebut Committed by Commit bot

[ios] Fixed some checkTypes errors in autofill_controller.js.

Moved typedefs out from anonymous function because typedefs can
only be defined at the top level, not inside functions.

R=thestig@chromium.org
BUG=487804

Review-Url: https://codereview.chromium.org/2341963006
Cr-Commit-Position: refs/heads/master@{#419423}
parent 7f4c25f2
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
// (chromium/src/components/autofill/core/common/form_data.h) for further // (chromium/src/components/autofill/core/common/form_data.h) for further
// processing. // processing.
/* Beginning of anonymous object. */
(function() {
/** @typedef {HTMLInputElement|HTMLTextAreaElement|HTMLSelectElement} */ /** @typedef {HTMLInputElement|HTMLTextAreaElement|HTMLSelectElement} */
var FormControlElement; var FormControlElement;
...@@ -46,6 +43,9 @@ var AutofillFormFieldData; ...@@ -46,6 +43,9 @@ var AutofillFormFieldData;
*/ */
var AutofillFormData; var AutofillFormData;
/* Beginning of anonymous object. */
(function() {
/** /**
* Namespace for this file. It depends on |__gCrWeb| having already been * Namespace for this file. It depends on |__gCrWeb| having already been
* injected. * injected.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment