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

Unified Diff: content/common/content_switches_internal.cc

Issue 202863004: Fix "unreachable code" warnings (MSVC warning 4702) in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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
Index: content/common/content_switches_internal.cc
===================================================================
--- content/common/content_switches_internal.cc (revision 256983)
+++ content/common/content_switches_internal.cc (working copy)
@@ -35,10 +35,10 @@
return base::win::GetVersion() >= base::win::VERSION_WIN8;
#elif defined(OS_CHROMEOS)
return true;
-#endif
-
+#else
return command_line.HasSwitch(switches::kEnableViewport) ||
command_line.HasSwitch(switches::kEnablePinch);
+#endif
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698