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

Unified Diff: Source/core/inspector/InjectedScriptSource.js

Issue 332173004: DevTools: [ClosureCompiler] Fix injected script errors on a newer compiler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/inspector/InjectedScriptCanvasModuleSource.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScriptSource.js
diff --git a/Source/core/inspector/InjectedScriptSource.js b/Source/core/inspector/InjectedScriptSource.js
index edeb00c72cd8e394acda0c4fd84cf242b7e70921..5d4ee46ae0cf4acec89ec25921fac2cbe02f5e85 100644
--- a/Source/core/inspector/InjectedScriptSource.js
+++ b/Source/core/inspector/InjectedScriptSource.js
@@ -38,7 +38,7 @@
* Protect against Object overwritten by the user code.
* @suppress {duplicate}
*/
-var Object = /** @type {function(new:Object, *=)} */ ({}.constructor);
+self.Object = /** @type {function(new:Object, *=)} */ ({}.constructor);
aandrey 2014/06/16 18:22:07 how is it supposed to work?
apavlov 2014/06/16 19:12:19 See http://www.ecma-international.org/ecma-262/5.1
aandrey 2014/06/16 19:44:47 This is not top level. Setting "Object" property o
apavlov 2014/06/17 11:28:14 Fixed (it used to be top-level when compiling, tha
/**
* @param {!Array.<T>} array
« no previous file with comments | « Source/core/inspector/InjectedScriptCanvasModuleSource.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698