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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 986933002: Only enable the Low Box token on Windows 8 and 8.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't change windows_version, only match 8 & 8.1 Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 7f5c54d7269afa60a068ec94c5f31114dd15c9f9..666912d25c26a0807883b1313fc6bb62fc80c2b3 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -330,7 +330,8 @@ class RendererSandboxedProcessLauncherDelegate
bool* success) {
AddBaseHandleClosePolicy(policy);
- if (base::win::GetVersion() >= base::win::VERSION_WIN8) {
+ if (base::win::GetVersion() == base::win::VERSION_WIN8 ||
+ base::win::GetVersion() != base::win::VERSION_WIN8_1) {
Will Harris 2015/03/09 01:18:25 I think you mean == here?
// TODO(shrikant): Check if these constants should be different across
// various versions of Chromium code base or could be same.
// If there should be different SID per channel then move this code
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698