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

Unified Diff: extensions/renderer/safe_builtins.cc

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 8 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 | « extensions/renderer/resources/binding.js ('k') | extensions/shell/browser/shell_runtime_api_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/safe_builtins.cc
diff --git a/extensions/renderer/safe_builtins.cc b/extensions/renderer/safe_builtins.cc
index c7296b7391c082326a05eb9cb4fd355b64f575d6..171878fa4fc7dc4281fcb11d99f495a21c3434a0 100644
--- a/extensions/renderer/safe_builtins.cc
+++ b/extensions/renderer/safe_builtins.cc
@@ -74,7 +74,7 @@ const char kScript[] =
" ['concat', 'forEach', 'indexOf', 'join', 'push', 'slice',\n"
" 'splice', 'map', 'filter']);\n"
"saveBuiltin(String,\n"
- " ['indexOf', 'slice', 'split']);\n"
+ " ['indexOf', 'slice', 'split', 'substr']);\n"
"saveBuiltin(RegExp,\n"
" ['test']);\n"
"saveBuiltin(Error,\n"
« no previous file with comments | « extensions/renderer/resources/binding.js ('k') | extensions/shell/browser/shell_runtime_api_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698