Index: chrome/browser/device_orientation/device_orientation_browsertest.cc |
diff --git a/chrome/browser/device_orientation/device_orientation_browsertest.cc b/chrome/browser/device_orientation/device_orientation_browsertest.cc |
index 332316e737d3b6b520d9ab235993ad52e319cc04..d33f5d3faee79830322a4467af830c43c984a4a3 100644 |
--- a/chrome/browser/device_orientation/device_orientation_browsertest.cc |
+++ b/chrome/browser/device_orientation/device_orientation_browsertest.cc |
@@ -38,7 +38,7 @@ class DeviceOrientationBrowserTest : public InProcessBrowserTest { |
public: |
// From InProcessBrowserTest. |
virtual void SetUpCommandLine(CommandLine* command_line) { |
- command_line->AppendSwitch(switches::kEnableDeviceOrientation); |
+ EXPECT_TRUE(!command_line->HasSwitch(switches::kDisableDeviceOrientation)); |
} |
GURL testUrl(const FilePath::CharType* filename) { |