Revert "[M120 Migration]Fix for crash during chrome exit"
[platform/framework/web/chromium-efl.git] / ui / gfx / scrollbar_size.cc
1 // Copyright 2009 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/gfx/scrollbar_size.h"
6
7 #include "base/compiler_specific.h"
8 #include "build/build_config.h"
9
10 #if BUILDFLAG(IS_WIN)
11 #include <windows.h>
12 #endif
13
14 namespace gfx {
15
16 int scrollbar_size() {
17 #if BUILDFLAG(IS_WIN)
18   return GetSystemMetrics(SM_CXVSCROLL);
19 #else
20   return 15;
21 #endif
22 }
23
24 }  // namespace gfx