Index: chrome/browser/tab_contents/background_contents.cc |
diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc |
index 50678050fdc08795837a1d51d64988d0395e71f0..96ed7af50488cbb106f8fa683bc227cdf5d92069 100644 |
--- a/chrome/browser/tab_contents/background_contents.cc |
+++ b/chrome/browser/tab_contents/background_contents.cc |
@@ -58,6 +58,18 @@ BackgroundContents::~BackgroundContents() { |
render_view_host_->Shutdown(); // deletes render_view_host |
} |
+BackgroundContents* BackgroundContents::GetAsBackgroundContents() { |
+ return this; |
+} |
+ |
+RenderViewHostDelegate::View* BackgroundContents::GetViewDelegate() { |
+ return this; |
+} |
+ |
+const GURL& BackgroundContents::GetURL() const { |
+ return url_; |
+} |
+ |
ViewType::Type BackgroundContents::GetRenderViewType() const { |
return ViewType::BACKGROUND_CONTENTS; |
} |