| Index: ui/base/layout.cc
|
| diff --git a/ui/base/layout.cc b/ui/base/layout.cc
|
| index 368a395e05bf97a9fd3ec1c8a6d2be6c60f9adb5..3b0446e1246830486753446ff17c6df7bdd24ac8 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,
|
|
|