diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-17 22:25:33 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-17 22:25:33 +0000 |
commit | 6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7 (patch) | |
tree | 4ce1316dbfd179681bdff905a7d71f1b4cbb902c /chrome/views/tree_view.cc | |
parent | 4c45708be10906e3cdbe9d40d206cfd3fcbaf1c2 (diff) | |
download | chromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.zip chromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.tar.gz chromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.tar.bz2 |
Rename legacy methods that were in CamelCase to unix_hacker.
Required going through and modifying some of the code to
solve name clashes.
Review URL: http://codereview.chromium.org/2945
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/tree_view.cc')
-rw-r--r-- | chrome/views/tree_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/views/tree_view.cc b/chrome/views/tree_view.cc index 0294788..3952ec0 100644 --- a/chrome/views/tree_view.cc +++ b/chrome/views/tree_view.cc @@ -290,7 +290,7 @@ HWND TreeView::CreateNativeControl(HWND parent_container) { WC_TREEVIEW, L"", style, - 0, 0, GetWidth(), GetHeight(), + 0, 0, width(), height(), parent_container, NULL, NULL, NULL); SetWindowLongPtr(tree_view_, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(&wrapper_)); @@ -444,8 +444,8 @@ void TreeView::OnContextMenu(const CPoint& location) { return; } if (!valid_loc) { - x = GetWidth() / 2; - y = GetHeight() / 2; + x = width() / 2; + y = height() / 2; } CPoint screen_loc(x, y); ConvertPointToScreen(this, &screen_loc); |