Index: chrome/browser/tab_contents/background_contents.h |
diff --git a/chrome/browser/tab_contents/background_contents.h b/chrome/browser/tab_contents/background_contents.h |
index 24dadef5c0d586c3010e9fc7bcbb78c86f6cddcb..3e2f30787b0c9d9dc2455265a7eae9e683820172 100644 |
--- a/chrome/browser/tab_contents/background_contents.h |
+++ b/chrome/browser/tab_contents/background_contents.h |
@@ -58,9 +58,9 @@ class BackgroundContents : public RenderViewHostDelegate, |
RenderViewHost* render_view_host() { return render_view_host_; } |
// RenderViewHostDelegate implementation. |
- virtual BackgroundContents* GetAsBackgroundContents() { return this; } |
- virtual RenderViewHostDelegate::View* GetViewDelegate() { return this; } |
- virtual const GURL& GetURL() const { return url_; } |
+ virtual BackgroundContents* GetAsBackgroundContents(); |
+ virtual RenderViewHostDelegate::View* GetViewDelegate(); |
+ virtual const GURL& GetURL() const; |
virtual ViewType::Type GetRenderViewType() const; |
virtual int GetBrowserWindowID() const; |
virtual void DidNavigate(RenderViewHost* render_view_host, |