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

Unified Diff: chrome/renderer/pepper_widget.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: chrome/renderer/pepper_widget.cc
===================================================================
--- chrome/renderer/pepper_widget.cc (revision 62510)
+++ chrome/renderer/pepper_widget.cc (working copy)
@@ -14,7 +14,7 @@
#include "webkit/glue/plugins/webplugin_delegate.h"
#if defined(OS_WIN)
-#include "base/win_util.h"
+#include "base/win/windows_version.h"
#endif
static int g_next_id;
@@ -65,7 +65,7 @@
iter->second->Paint(gdc, *dirty);
#if defined(OS_WIN)
- if (win_util::GetWinVersion() == win_util::WINVERSION_XP) {
+ if (base::win::GetVersion() == base::win::VERSION_XP) {
gdc->canvas()->getTopPlatformDevice().makeOpaque(
dirty->left, dirty->top, dirty->right - dirty->left,
dirty->bottom - dirty->top);

Powered by Google App Engine
This is Rietveld 408576698