Index: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
index 3e6e20542af834c6d34e47926c157bd4a889019a..29c8393943ec30b74935302e1a7debb81648abab 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
@@ -408,7 +408,8 @@ const char* OmniboxPopupContentsView::GetClassName() const { |
return "OmniboxPopupContentsView"; |
} |
-void OmniboxPopupContentsView::OnPaint(gfx::Canvas* canvas) { |
+void OmniboxPopupContentsView::PaintChildren(gfx::Canvas* canvas, |
+ const views::CullSet& cull_set) { |
gfx::Rect contents_bounds = GetContentsBounds(); |
contents_bounds.set_height( |
contents_bounds.height() - bottom_shadow_->height() + kBorderInterior); |
@@ -433,11 +434,6 @@ void OmniboxPopupContentsView::OnPaint(gfx::Canvas* canvas) { |
width(), bottom_shadow_->height()); |
} |
-void OmniboxPopupContentsView::PaintChildren(gfx::Canvas* canvas, |
- const views::CullSet& cull_set) { |
- // We paint our children inside OnPaint(). |
-} |
- |
//////////////////////////////////////////////////////////////////////////////// |
// OmniboxPopupContentsView, private: |