summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/render_thread.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 047dbff..2e85097 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -777,6 +777,9 @@ void RenderThread::EnsureWebKitInitialized() {
WebRuntimeFeatures::enableGeolocation(
command_line.HasSwitch(switches::kEnableGeolocation));
+
+ WebRuntimeFeatures::enableWebGL(
+ command_line.HasSwitch(switches::kEnableExperimentalWebGL));
}
void RenderThread::IdleHandler() {