Index: chrome/browser/ui/views/download_shelf_view.h |
diff --git a/chrome/browser/ui/views/download_shelf_view.h b/chrome/browser/ui/views/download_shelf_view.h |
index 10f65fafbd157cd6703c9fe94384e06cbd9c5ae8..25d160144895abd0d8de9f079d5f008b2de0235d 100644 |
--- a/chrome/browser/ui/views/download_shelf_view.h |
+++ b/chrome/browser/ui/views/download_shelf_view.h |
@@ -70,7 +70,7 @@ class DownloadShelfView : public AccessiblePaneView, |
virtual bool IsClosing() const; |
virtual void Show(); |
virtual void Close(); |
- virtual Browser* browser() const { return browser_; } |
+ virtual Browser* browser() const; |
// Implementation of MouseWatcherDelegate. |
virtual void MouseMovedOutOfView(); |
@@ -96,7 +96,7 @@ class DownloadShelfView : public AccessiblePaneView, |
void AddDownloadView(DownloadItemView* view); |
// Paints the border. |
- void OnPaintBorder(gfx::Canvas* canvas); |
+ virtual void OnPaintBorder(gfx::Canvas* canvas); |
// Returns true if the shelf is wide enough to show the first download item. |
bool CanFitFirstDownloadItem(); |