Index: ceee/ie/common/ceee_util.cc |
=================================================================== |
--- ceee/ie/common/ceee_util.cc (revision 70414) |
+++ ceee/ie/common/ceee_util.cc (working copy) |
@@ -23,7 +23,8 @@ |
path += clsid; |
base::win::RegKey key; |
- return key.Open(HKEY_CLASSES_ROOT, path.c_str(), KEY_QUERY_VALUE); |
+ LONG result = key.Open(HKEY_CLASSES_ROOT, path.c_str(), KEY_QUERY_VALUE); |
+ return result == ERROR_SUCCESS; |
} |
} // namespace ceee_util |