Index: chrome/browser/ui/views/autofill/info_bubble.h |
diff --git a/chrome/browser/ui/views/autofill/info_bubble.h b/chrome/browser/ui/views/autofill/info_bubble.h |
index f74019129448b366c8a79ae11e931bc697b63f3a..d02820573ba1eeffe3ea66e6a06411979f107ae4 100644 |
--- a/chrome/browser/ui/views/autofill/info_bubble.h |
+++ b/chrome/browser/ui/views/autofill/info_bubble.h |
@@ -33,12 +33,13 @@ class InfoBubble : public views::BubbleDelegateView { |
// views::BubbleDelegateView: |
virtual views::NonClientFrameView* CreateNonClientFrameView( |
views::Widget* widget) OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual void OnWidgetDestroyed(views::Widget* widget) OVERRIDE; |
virtual void OnWidgetBoundsChanged(views::Widget* widget, |
const gfx::Rect& new_bounds) OVERRIDE; |
views::View* anchor() { return anchor_; } |
+ const views::View* anchor() const { return anchor_; } |
void set_align_to_anchor_edge(bool align_to_anchor_edge) { |
align_to_anchor_edge_ = align_to_anchor_edge; |