summaryrefslogtreecommitdiffstats
path: root/ui/base/win/dpi_setup.cc
blob: ad4e6e8616e7935767e24ffe44212cbb91fbad0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/base/win/dpi_setup.h"

#include "ui/base/layout.h"
#include "ui/gfx/display.h"
#include "ui/gfx/win/dpi.h"

namespace ui {
namespace win {

void InitDeviceScaleFactor() {
  gfx::InitDeviceScaleFactor(gfx::GetDPIScale());
}

}  // namespace win
}  // namespace ui