summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/session_restore_browsertest.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-03 16:33:45 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-03 16:33:45 +0000
commitfc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b (patch)
treefc99a46723b215ce1dcb6e9d0d6a9c859a1317ae /chrome/browser/sessions/session_restore_browsertest.cc
parent08bb7500c4583bb641717819ade7af8e520e92cb (diff)
downloadchromium_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/sessions/session_restore_browsertest.cc')
-rw-r--r--chrome/browser/sessions/session_restore_browsertest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/sessions/session_restore_browsertest.cc b/chrome/browser/sessions/session_restore_browsertest.cc
index b5b1747..029200b 100644
--- a/chrome/browser/sessions/session_restore_browsertest.cc
+++ b/chrome/browser/sessions/session_restore_browsertest.cc
@@ -42,7 +42,6 @@
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
-#include "content/public/browser/web_contents_view.h"
#include "content/public/common/bindings_policy.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/test/browser_test_utils.h"
@@ -215,7 +214,7 @@ IN_PROC_BROWSER_TEST_F(SessionRestoreTest, RestoredTabsShouldHaveRootWindow) {
// Check the restored tabs have a root window.
for (int i = 0; i < tabs; ++i) {
content::WebContents* contents = tab_strip_model->GetWebContentsAt(i);
- gfx::NativeView window = contents->GetView()->GetNativeView();
+ gfx::NativeView window = contents->GetNativeView();
bool tab_has_root_window = !!window->GetRootWindow();
EXPECT_TRUE(tab_has_root_window);
}