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

Unified Diff: ios/web/web_state/js/resources/base.js

Issue 2472593005: Revert of [ios] Pass more --jscomp_error switches to the closure Compiler. (Closed)
Patch Set: Created 4 years, 1 month 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 | « ios/web/js_compile.gni ('k') | ios/web/web_state/js/resources/common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/js/resources/base.js
diff --git a/ios/web/web_state/js/resources/base.js b/ios/web/web_state/js/resources/base.js
index 985e4b0638467e0a49ac24dce0231f57d6f0f154..7ad71a2216cb7666b33d68c6fa4ef26b14fc8540 100644
--- a/ios/web/web_state/js/resources/base.js
+++ b/ios/web/web_state/js/resources/base.js
@@ -11,9 +11,5 @@
goog.provide('__crWeb.base');
// This object is checked on the main app to know when to inject (or not).
-var __gCrWeb = {};
+window['__gCrWeb'] = {};
-// Store __gCrWeb global namespace object referenced by a string, so it does not
-// get renamed by closure compiler during the minification.
-window['__gCrWeb'] = __gCrWeb;
-
« no previous file with comments | « ios/web/js_compile.gni ('k') | ios/web/web_state/js/resources/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698