diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-03 16:33:45 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-03 16:33:45 +0000 |
commit | fc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b (patch) | |
tree | fc99a46723b215ce1dcb6e9d0d6a9c859a1317ae /chrome/browser/ui/browser_tabrestore.cc | |
parent | 08bb7500c4583bb641717819ade7af8e520e92cb (diff) | |
download | chromium_src-fc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b.zip chromium_src-fc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b.tar.gz chromium_src-fc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b.tar.bz2 |
Hide WebContentsView from Chrome. This also removes WebContentsViewPort.
TestWebContentsView goes away since it's not needed anymore
BUG=304341
R=avi@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/262823006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_tabrestore.cc')
-rw-r--r-- | chrome/browser/ui/browser_tabrestore.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/ui/browser_tabrestore.cc b/chrome/browser/ui/browser_tabrestore.cc index 38a9a93..abe591c 100644 --- a/chrome/browser/ui/browser_tabrestore.cc +++ b/chrome/browser/ui/browser_tabrestore.cc @@ -17,7 +17,6 @@ #include "content/public/browser/navigation_entry.h" #include "content/public/browser/session_storage_namespace.h" #include "content/public/browser/web_contents.h" -#include "content/public/browser/web_contents_view.h" using content::WebContents; using content::NavigationController; @@ -62,7 +61,7 @@ WebContents* CreateRestoredTab( browser->tab_strip_model()->GetActiveWebContents(); if (base_web_contents) { create_params.initial_size = - base_web_contents->GetView()->GetContainerSize(); + base_web_contents->GetContainerBounds().size(); } WebContents* web_contents = content::WebContents::CreateWithSessionStorage( create_params, |