| Index: base/win/win_util.cc
|
| diff --git a/base/win/win_util.cc b/base/win/win_util.cc
|
| index 10ae26125e7590fffe53e78e2ae67c554f34c642..ae43fde4f6f0fdf8e8b10eef0d1447c84768ddb3 100644
|
| --- a/base/win/win_util.cc
|
| +++ b/base/win/win_util.cc
|
| @@ -90,7 +90,7 @@ bool UserAccountControlIsEnabled() {
|
| L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System",
|
| KEY_READ);
|
| DWORD uac_enabled;
|
| - if (key.ReadValueDW(L"EnableLUA", &uac_enabled) != ERROR_SUCCESS)
|
| + if (key.ReadValue(L"EnableLUA", &uac_enabled) != ERROR_SUCCESS)
|
| return true;
|
| // Users can set the EnableLUA value to something arbitrary, like 2, which
|
| // Vista will treat as UAC enabled, so we make sure it is not set to 0.
|
|
|