summaryrefslogtreecommitdiffstats
path: root/ui/base/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/layout.cc')
-rw-r--r--ui/base/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/layout.cc b/ui/base/layout.cc
index 368a395..3b0446e 100644
--- a/ui/base/layout.cc
+++ b/ui/base/layout.cc
@@ -45,7 +45,7 @@ bool UseTouchOptimizedUI() {
#if defined(OS_WIN)
// On Windows, we use the touch layout only when we are running in
// Metro mode.
- return base::win::GetMetroModule() != NULL;
+ return base::win::IsMetroProcess();
#elif defined(USE_AURA) && defined(USE_X11)
// Determine whether touch-screen hardware is currently available.
// For now we must ensure this won't change over the life of the process,