summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.h')
-rw-r--r--chrome/browser/tab_contents/tab_contents.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index b113dd5..403c3ea 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -636,9 +636,8 @@ class TabContents : public PageNavigator,
void set_request_context(URLRequestContextGetter* context) {
request_context_ = context;
}
-
URLRequestContextGetter* request_context() const {
- return request_context_;
+ return request_context_.get();
}
LanguageState& language_state() {
@@ -856,6 +855,8 @@ class TabContents : public PageNavigator,
virtual RenderViewHostDelegate::FavIcon* GetFavIconDelegate();
virtual RenderViewHostDelegate::Autocomplete* GetAutocompleteDelegate();
virtual RenderViewHostDelegate::AutoFill* GetAutoFillDelegate();
+ virtual AutomationResourceRoutingDelegate*
+ GetAutomationResourceRoutingDelegate();
virtual TabContents* GetAsTabContents();
virtual ViewType::Type GetRenderViewType() const;
virtual int GetBrowserWindowID() const;