Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1569)

Unified Diff: chrome/browser/device_orientation/device_orientation_browsertest.cc

Issue 3136038: Enable device orientation by default. (Closed)
Patch Set: Rebase and address Pawel's comment Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/device_orientation/enable_switch_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | chrome/browser/device_orientation/enable_switch_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698