commit | 768c547ef7c680bcfcf2616bf6e833849aea6db1 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Dec 26 19:06:17 2011 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Dec 26 19:06:17 2011 |
tree | 6264e6274a36648ac8b5af51d2d02fc38dff5b2c | |
parent | c95c0219b5d1ea69f824c9b98d63919cba7ccd10 [diff] [blame] |
Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9030010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115800 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc index 327f407..d89b717 100644 --- a/content/browser/tab_contents/tab_contents.cc +++ b/content/browser/tab_contents/tab_contents.cc
@@ -1590,6 +1590,10 @@ return this; } +WebContents* TabContents::GetAsWebContents() { + return this; +} + content::ViewType TabContents::GetRenderViewType() const { return view_type_; }