diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-17 13:24:15 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-17 13:24:15 +0000 |
commit | e018d3b0c50982871526779cfa53a4a0eac36a68 (patch) | |
tree | 5ed6f419b1c08b01239ca09ed995246a1022b3c1 /chrome/browser/geolocation | |
parent | 21b3c16d2e2359321d8c2d6c36ef4209f269e3d2 (diff) | |
download | chromium_src-e018d3b0c50982871526779cfa53a4a0eac36a68.zip chromium_src-e018d3b0c50982871526779cfa53a4a0eac36a68.tar.gz chromium_src-e018d3b0c50982871526779cfa53a4a0eac36a68.tar.bz2 |
TabContents -> WebContentsImpl, part 15.
Switch VIEW_TYPE_TAB_CONTENTS to VIEW_TYPE_WEB_CONTENTS.
Also removed all references in comments to TAB_CONTENTS_WEB. TAB_CONTENTS_WEB was a value of the enum TabContentsType, which was removed in r13730.
BUG=105875
TEST=no change
Review URL: https://chromiumcodereview.appspot.com/10091006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation')
-rw-r--r-- | chrome/browser/geolocation/chrome_geolocation_permission_context.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context.cc index 665dd52..8c42a11 100644 --- a/chrome/browser/geolocation/chrome_geolocation_permission_context.cc +++ b/chrome/browser/geolocation/chrome_geolocation_permission_context.cc @@ -624,7 +624,7 @@ void ChromeGeolocationPermissionContext::RequestGeolocationPermission( WebContents* web_contents = tab_util::GetWebContentsByID(render_process_id, render_view_id); if (!web_contents || web_contents->GetViewType() != - content::VIEW_TYPE_TAB_CONTENTS) { + content::VIEW_TYPE_WEB_CONTENTS) { // The tab may have gone away, or the request may not be from a tab at all. // TODO(mpcomplete): the request could be from a background page or // extension popup (tab_contents will have a different ViewType). But why do |