Index: content/renderer/render_thread.cc |
diff --git a/content/renderer/render_thread.cc b/content/renderer/render_thread.cc |
index 771e66387fd0b7fa076faf78f8cee2586847d224..bda81425b287715549de030e81645e819cdabfcb 100644 |
--- a/content/renderer/render_thread.cc |
+++ b/content/renderer/render_thread.cc |
@@ -473,6 +473,9 @@ void RenderThread::EnsureWebKitInitialized() { |
WebKit::WebRuntimeFeatures::enableMediaStream( |
command_line.HasSwitch(switches::kEnableMediaStream)); |
+ WebKit::WebRuntimeFeatures::enableFullScreenAPI( |
+ command_line.HasSwitch(switches::kEnableFullScreen)); |
+ |
#if defined(OS_CHROMEOS) |
// TODO(crogers): enable once Web Audio has been tested and optimized. |
WebRuntimeFeatures::enableWebAudio(false); |