Index: chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc |
diff --git a/chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc b/chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc |
index 0628eef4d3e49c92bd1d70f4da64f4993812a9b4..a06ce17093bd5daee69f46d1fc7740b3fc68a5a8 100644 |
--- a/chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc |
+++ b/chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc |
@@ -36,7 +36,7 @@ |
#include "components/dom_distiller/core/url_utils.h" |
#include "components/leveldb_proto/testing/fake_db.h" |
#include "components/strings/grit/components_strings.h" |
-#include "content/public/browser/render_view_host.h" |
+#include "content/public/browser/render_frame_host.h" |
#include "content/public/browser/url_data_source.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_observer.h" |
@@ -227,9 +227,9 @@ void DomDistillerViewerSourceBrowserTest::ViewSingleDistilledPage( |
browser()->tab_strip_model()->GetActiveWebContents(); |
ASSERT_TRUE(contents_after_nav != NULL); |
EXPECT_EQ(url, contents_after_nav->GetLastCommittedURL()); |
- const content::RenderViewHost* render_view_host = |
- contents_after_nav->GetRenderViewHost(); |
- EXPECT_EQ(0, render_view_host->GetEnabledBindings()); |
+ const content::RenderFrameHost* render_frame_host = |
+ contents_after_nav->GetMainFrame(); |
+ EXPECT_EQ(0, render_frame_host->GetEnabledBindings()); |
EXPECT_EQ(expected_mime_type, contents_after_nav->GetContentsMimeType()); |
} |