summaryrefslogtreecommitdiffstats
path: root/app/resource_bundle_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/resource_bundle_win.cc')
-rw-r--r--app/resource_bundle_win.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/resource_bundle_win.cc b/app/resource_bundle_win.cc
index 6676dc6..369ee40 100644
--- a/app/resource_bundle_win.cc
+++ b/app/resource_bundle_win.cc
@@ -17,14 +17,15 @@
#include "base/resource_util.h"
#include "base/stl_util-inl.h"
#include "base/string_piece.h"
-#include "base/win_util.h"
+#include "base/win/windows_version.h"
+
#include "gfx/font.h"
namespace {
// Returns the flags that should be passed to LoadLibraryEx.
DWORD GetDataDllLoadFlags() {
- if (win_util::GetWinVersion() >= win_util::WINVERSION_VISTA)
+ if (base::win::GetVersion() >= base::win::VERSION_VISTA)
return LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE | LOAD_LIBRARY_AS_IMAGE_RESOURCE;
return DONT_RESOLVE_DLL_REFERENCES;