| Index: ui/base/layout.cc
|
| diff --git a/ui/base/layout.cc b/ui/base/layout.cc
|
| index 36614fa825b3f2bb5dab8c7e7e70c6277d01e008..6bce4d2884926568bd1ebef4cf82d42c64d407cf 100644
|
| --- a/ui/base/layout.cc
|
| +++ b/ui/base/layout.cc
|
| @@ -44,7 +44,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::InMetroMode();
|
| #elif defined(USE_AURA) && defined(USE_X11)
|
| // Determine whether touch-screen hardware is currently available.
|
| // For now we assume this won't change over the life of the process, but
|
|
|