Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: gfx/native_theme_win.cc

Issue 3823002: Move windows version-related stuff out of base/win_util and into base/win/win... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gfx/native_theme_win.cc
===================================================================
--- gfx/native_theme_win.cc (revision 62510)
+++ gfx/native_theme_win.cc (working copy)
@@ -11,7 +11,7 @@
#include "base/logging.h"
#include "base/scoped_handle.h"
-#include "base/win_util.h"
+#include "base/win/windows_version.h"
#include "gfx/gdi_util.h"
#include "gfx/rect.h"
#include "skia/ext/platform_canvas.h"
@@ -535,7 +535,7 @@
// The thickness of the bar frame inside |value_rect|
const int kXPBarPadding = 3;
- bool pre_vista = win_util::GetWinVersion() < win_util::WINVERSION_VISTA;
+ bool pre_vista = base::win::GetVersion() < base::win::VERSION_VISTA;
HANDLE handle = GetThemeHandle(PROGRESS);
if (handle && draw_theme_ && draw_theme_ex_) {
draw_theme_(handle, hdc, PP_BAR, 0, bar_rect, NULL);

Powered by Google App Engine
This is Rietveld 408576698