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

Unified Diff: ui/base/win/shell.cc

Issue 718173002: Merging in cl to help debug major crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2214
Patch Set: Created 6 years, 1 month 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: ui/base/win/shell.cc
diff --git a/ui/base/win/shell.cc b/ui/base/win/shell.cc
index ee656edbfe559c32ad0ca1ed1e1af38e78faa45c..91eaf9313b78d9483f4f06b38af11d7e5cc53194 100644
--- a/ui/base/win/shell.cc
+++ b/ui/base/win/shell.cc
@@ -10,6 +10,7 @@
#include <shellapi.h>
#include "base/command_line.h"
+#include "base/debug/alias.h"
#include "base/files/file_path.h"
#include "base/native_library.h"
#include "base/strings/string_util.h"
@@ -146,7 +147,9 @@ bool IsAeroGlassEnabled() {
switches::kDisableDwmComposition))
return false;
- if (base::win::GetVersion() < base::win::VERSION_VISTA)
+ base::win::Version version = base::win::GetVersion();
+ base::debug::Alias(&version); // TODO(scottmg): http://crbug.com/431549.
+ if (version < base::win::VERSION_VISTA)
return false;
// If composition is not enabled, we behave like on XP.
BOOL enabled = FALSE;
« 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