| Index: base/win_util.cc
|
| diff --git a/base/win_util.cc b/base/win_util.cc
|
| index 12cf2413c370e0187d9df3529e1a1338b6c1e091..49a20c86b7a41f7741e8f7ff7209430199394b62 100644
|
| --- a/base/win_util.cc
|
| +++ b/base/win_util.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -350,7 +350,8 @@ std::wstring GetClassName(HWND window) {
|
|
|
| bool UserAccountControlIsEnabled() {
|
| RegKey key(HKEY_LOCAL_MACHINE,
|
| - L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
|
| + L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System",
|
| + KEY_READ);
|
| DWORD uac_enabled;
|
| if (!key.ReadValueDW(L"EnableLUA", &uac_enabled))
|
| return true;
|
|
|