Index: components/autofill/ios/browser/resources/suggestion_controller.js |
diff --git a/components/autofill/ios/browser/resources/suggestion_controller.js b/components/autofill/ios/browser/resources/suggestion_controller.js |
index abc088af5d10fc23aa210e136faeb15f7c626eef..69b830143a055a1ee1f20bab51f0cc262de2ecd1 100644 |
--- a/components/autofill/ios/browser/resources/suggestion_controller.js |
+++ b/components/autofill/ios/browser/resources/suggestion_controller.js |
@@ -4,6 +4,9 @@ |
// Installs suggestion management functions on the |__gCrWeb| object. |
+/* Beginning of anonymous object. */ |
+(function() { |
+ |
/** |
* Namespace for this file. It depends on |__gCrWeb| having already been |
* injected. |
@@ -313,3 +316,5 @@ __gCrWeb.suggestion['hasPreviousElement'] = function(formName, fieldName) { |
return __gCrWeb.suggestion.getPreviousElementInTabOrder( |
currentElement, document.all) !== null; |
}; |
+ |
+}()); // End of anonymous object |