Index: chrome/browser/platform_util_win.cc |
diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc |
index d932b7446d8f05c653efae685e2c95f9192f0d2f..a807a428a4a82f0b469205845b11532bb73fcffa 100644 |
--- a/chrome/browser/platform_util_win.cc |
+++ b/chrome/browser/platform_util_win.cc |
@@ -116,7 +116,7 @@ void OpenExternal(const GURL& url) { |
key.Open(HKEY_CLASSES_ROOT, registry_path.c_str(), KEY_READ); |
if (key.Valid()) { |
DWORD size = 0; |
- key.ReadValue(NULL, NULL, &size); |
+ key.ReadValue(NULL, NULL, &size, NULL); |
if (size <= 2) { |
// ShellExecute crashes the process when the command is empty. |
// We check for "2" because it always returns the trailing NULL. |