summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_tab.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-18 17:02:14 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-18 17:02:14 +0000
commitac33674d8fe3a73a9cbf19807e999bd2bb787361 (patch)
tree73e0fbb054b38adc4d40c82224ecc64400c85257 /chrome_frame/chrome_tab.cc
parent6b073e60cf5e57e8ea1952787a32be3a21e66496 (diff)
downloadchromium_src-ac33674d8fe3a73a9cbf19807e999bd2bb787361.zip
chromium_src-ac33674d8fe3a73a9cbf19807e999bd2bb787361.tar.gz
chromium_src-ac33674d8fe3a73a9cbf19807e999bd2bb787361.tar.bz2
base/win: small improvement to RegKey API.
- Rename ValueExists() to HasValue(). - Rename ValueCount() to GetValueCount(). - Rename ReadName() to GetValueNameAt(). R=maruel@chromium.org,willchan@chromium.org Review URL: http://codereview.chromium.org/8337006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_tab.cc')
-rw-r--r--chrome_frame/chrome_tab.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_tab.cc b/chrome_frame/chrome_tab.cc
index 7cd7706..86de19e 100644
--- a/chrome_frame/chrome_tab.cc
+++ b/chrome_frame/chrome_tab.cc
@@ -375,7 +375,7 @@ HRESULT SetChromeFrameUA(bool is_system, const wchar_t* value) {
wchar_t value_data[MAX_PATH + 1] = {};
DWORD value_index = 0;
- while (value_index < ua_key.ValueCount()) {
+ while (value_index < ua_key.GetValueCount()) {
DWORD name_size = arraysize(value_name);
DWORD value_size = arraysize(value_data);
DWORD type = 0;