Index: chrome/app/close_handle_hook_win.cc |
diff --git a/chrome/app/close_handle_hook_win.cc b/chrome/app/close_handle_hook_win.cc |
index 19836ded0ce07231abb2f5dd2c5a3c0624e99bab..b5b3d857569041789e6e91097f589a6d97255f08 100644 |
--- a/chrome/app/close_handle_hook_win.cc |
+++ b/chrome/app/close_handle_hook_win.cc |
@@ -66,6 +66,12 @@ void CloseHandleHooks::Unpatch() { |
} |
bool UseHooks() { |
+ chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); |
+ if (channel == chrome::VersionInfo::CHANNEL_CANARY || |
+ channel == chrome::VersionInfo::CHANNEL_DEV) { |
+ return true; |
+ } |
+ |
return false; |
} |