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

Unified Diff: chrome/browser/process_singleton_win.cc

Issue 202993002: Fix "unreachable code" warnings (MSVC warning 4702) in chrome/browser/. (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: chrome/browser/process_singleton_win.cc
===================================================================
--- chrome/browser/process_singleton_win.cc (revision 256983)
+++ chrome/browser/process_singleton_win.cc (working copy)
@@ -196,8 +196,7 @@
// to relaunch desktop launched chrome into immersive mode through 'relaunch'
// menu. In case of Aura, we will use delegate_execute to do the relaunch.
return false;
-#endif
-
+#else
if (base::win::GetVersion() < base::win::VERSION_WIN8)
return false;
@@ -229,6 +228,7 @@
return reg_value == 1;
}
return base::win::IsTouchEnabledDevice();
+#endif
}
} // namespace
« no previous file with comments | « chrome/browser/prefs/incognito_mode_prefs.cc ('k') | chrome/browser/renderer_context_menu/context_menu_content_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698