summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-10 18:43:35 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-10 18:43:35 +0000
commit23796780b1635552da0acc1c853db2db515f123e (patch)
treee113811b92f0729dfb5b46f6af6b2561557ef03e /sandbox
parentdc6881f8e5ada0962b00d18554027303764b46a9 (diff)
downloadchromium_src-23796780b1635552da0acc1c853db2db515f123e.zip
chromium_src-23796780b1635552da0acc1c853db2db515f123e.tar.gz
chromium_src-23796780b1635552da0acc1c853db2db515f123e.tar.bz2
Fix a hang in the GPU process in the XP presentation path.
We need to intercept kernelbase.dll for the CreateEvent/OpenEvent API's from Windows 7 onwards. BUG=305815 R=cpu@chromium.org, cpu Review URL: https://codereview.chromium.org/26563006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/win/src/sync_dispatcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/win/src/sync_dispatcher.cc b/sandbox/win/src/sync_dispatcher.cc
index 64b10c3..b80e338 100644
--- a/sandbox/win/src/sync_dispatcher.cc
+++ b/sandbox/win/src/sync_dispatcher.cc
@@ -37,7 +37,7 @@ bool SyncDispatcher::SetupService(InterceptionManager* manager,
int service) {
bool ret = false;
static const wchar_t* kWin32SyncDllName =
- base::win::GetVersion() >= base::win::VERSION_WIN8 ? kKernelBasedllName :
+ base::win::GetVersion() >= base::win::VERSION_WIN7 ? kKernelBasedllName :
kKerneldllName;
// We need to intercept kernelbase.dll on Windows 8 and beyond and