Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index cc93798f9cb8eca2edc27630f69721c544700366..16d39f5bc8a062239881d3e556c959acde04302a 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -658,8 +658,7 @@ void RenderThreadImpl::EnsureWebKitInitialized() { |
WebKit::WebRuntimeFeatures::enableFullScreenAPI( |
!command_line.HasSwitch(switches::kDisableFullScreen)); |
- WebKit::WebRuntimeFeatures::enablePointerLock( |
- !command_line.HasSwitch(switches::kDisablePointerLock)); |
+ WebKit::WebRuntimeFeatures::enablePointerLock(true); |
jamesr
2012/09/17 19:27:00
is there a corresponding WebKit bug to remove this
|
WebKit::WebRuntimeFeatures::enableEncryptedMedia( |
command_line.HasSwitch(switches::kEnableEncryptedMedia)); |