diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 03:24:02 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 03:24:02 +0000 |
commit | 9a3f0ac2899139ace97e399015259d028b4d5704 (patch) | |
tree | b23a9d2986df7fe9fa59317ae7348abf6534d95d /chrome/views/native_control.cc | |
parent | 308b5e017464f310252b77dd52752de120aa98e7 (diff) | |
download | chromium_src-9a3f0ac2899139ace97e399015259d028b4d5704.zip chromium_src-9a3f0ac2899139ace97e399015259d028b4d5704.tar.gz chromium_src-9a3f0ac2899139ace97e399015259d028b4d5704.tar.bz2 |
Make border and background setting and getting non-virtual and use the correct style. I was debugging in here and this was annoying me, since there is no reason for these functions to be virtual.
Review URL: http://codereview.chromium.org/10638
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5445 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/native_control.cc')
-rw-r--r-- | chrome/views/native_control.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/native_control.cc b/chrome/views/native_control.cc index c2816be..fd81b4f 100644 --- a/chrome/views/native_control.cc +++ b/chrome/views/native_control.cc @@ -134,7 +134,7 @@ class NativeControlContainer : public CWindowImpl<NativeControlContainer, LRESULT OnCtlColor(UINT msg, HDC dc, HWND control) { const View *ancestor = parent_; while (ancestor) { - const Background *background = ancestor->GetBackground(); + const Background *background = ancestor->background(); if (background) { HBRUSH brush = background->GetNativeControlBrush(); if (brush) |