summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-08 14:22:05 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-08 14:22:05 +0000
commit739a305ca4385ddbec60f5a21137c2c0de8e3388 (patch)
treeed03810638a879129b744a630960edc64b390fb2 /remoting
parent4938fd0d6124162ba2f52677fcf26e3e76b747c6 (diff)
downloadchromium_src-739a305ca4385ddbec60f5a21137c2c0de8e3388.zip
chromium_src-739a305ca4385ddbec60f5a21137c2c0de8e3388.tar.gz
chromium_src-739a305ca4385ddbec60f5a21137c2c0de8e3388.tar.bz2
remoting/host: Check the windows version using GetVersion() function.
R=alexeypa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10332027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135832 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/sas_injector_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/sas_injector_win.cc b/remoting/host/sas_injector_win.cc
index 33e3b49..0f1a1c4 100644
--- a/remoting/host/sas_injector_win.cc
+++ b/remoting/host/sas_injector_win.cc
@@ -173,7 +173,7 @@ bool SasInjectorWin::InjectSas() {
}
scoped_ptr<SasInjector> SasInjector::Create() {
- if (base::win::OSInfo::GetInstance()->version() >= base::win::VERSION_VISTA) {
+ if (base::win::GetVersion() >= base::win::VERSION_VISTA) {
return scoped_ptr<SasInjector>(new SasInjectorWin());
}