Index: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h |
index 855135c4ecef84aebcc9e4b0314dc40e471dbcb9..123e756908622355bdc6dce490b5f49b348a03f9 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h |
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h |
@@ -93,11 +93,6 @@ class OmniboxPopupContentsView : public views::View, |
// views::View: |
const char* GetClassName() const override; |
- void OnPaint(gfx::Canvas* canvas) override; |
- // This method should not be triggered directly as we paint our children |
- // in an un-conventional way inside OnPaint. We use a separate canvas to |
- // paint the children. Hence we override this method to a no-op so that |
- // the view hierarchy does not "accidentally" trigger this. |
void PaintChildren(gfx::Canvas* canvas, |
const views::CullSet& cull_set) override; |