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

Unified Diff: components/autofill/ios/browser/resources/autofill_controller.js

Issue 2242353002: [ios] Put autofill scripts into anonymous function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | components/autofill/ios/browser/resources/suggestion_controller.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/ios/browser/resources/autofill_controller.js
diff --git a/components/autofill/ios/browser/resources/autofill_controller.js b/components/autofill/ios/browser/resources/autofill_controller.js
index 50ec7364308aab36833cf0837bca65b00033b450..2ca8c41bd592500106bb26f741d279811a7e3ac0 100644
--- a/components/autofill/ios/browser/resources/autofill_controller.js
+++ b/components/autofill/ios/browser/resources/autofill_controller.js
@@ -11,6 +11,9 @@
// (chromium/src/components/autofill/core/common/form_data.h) for further
// processing.
+/* Beginning of anonymous object. */
+(function() {
+
/** @typedef {HTMLInputElement|HTMLTextAreaElement|HTMLSelectElement} */
var FormControlElement;
@@ -2062,3 +2065,5 @@ __gCrWeb.autofill['fillPredictionData'] = function(data) {
}
}
};
+
+}()); // End of anonymous object
« no previous file with comments | « no previous file | components/autofill/ios/browser/resources/suggestion_controller.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698