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

Unified Diff: chrome/renderer/render_thread.cc

Issue 6366021: Adding support for JavaScript internationalization API as V8 extension. See p... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | « chrome/common/chrome_switches.cc ('k') | webkit/tools/test_shell/test_shell_webkit_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 74372)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -959,6 +959,9 @@
WebRuntimeFeatures::enableFileSystem(
!command_line.HasSwitch(switches::kDisableFileSystem));
+
+ WebRuntimeFeatures::enableJavaScriptI18NAPI(
+ command_line.HasSwitch(switches::kEnableJavaScriptI18NAPI));
}
void RenderThread::IdleHandler() {
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | webkit/tools/test_shell/test_shell_webkit_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698