Disable run-time flag for device orientation in test_shell
Device orientation runtime flag must be switched off in test_shell, as it doesn't provide a DeviceOrientationClient to the Page constructor. WebKit r64270 triggered the problem by using this NULL client in the DeviceOrientationController constructor, causing it to crash. The DeviceOrientationController does not get instantiated when the runtime flag is off. BUG=None TEST=test_shell should not crash Review URL: http://codereview.chromium.org/3066015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54125 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment