From 9a3f0ac2899139ace97e399015259d028b4d5704 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Fri, 14 Nov 2008 03:24:02 +0000 Subject: 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 --- chrome/browser/views/info_bar_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/views/info_bar_view.cc') diff --git a/chrome/browser/views/info_bar_view.cc b/chrome/browser/views/info_bar_view.cc index 255e528..116a00b 100644 --- a/chrome/browser/views/info_bar_view.cc +++ b/chrome/browser/views/info_bar_view.cc @@ -131,7 +131,7 @@ void InfoBarView::ViewHierarchyChanged(bool is_add, View *parent, } void InfoBarView::Init() { - SetBackground( + set_background( views::Background::CreateVerticalGradientBackground( kBackgroundColorTop, kBackgroundColorBottom)); } -- cgit v1.1