Index: content/browser/download/mhtml_generation_browsertest.cc |
=================================================================== |
--- content/browser/download/mhtml_generation_browsertest.cc (revision 116109) |
+++ content/browser/download/mhtml_generation_browsertest.cc (working copy) |
@@ -10,10 +10,12 @@ |
#include "chrome/test/base/testing_browser_process.h" |
#include "chrome/test/base/ui_test_utils.h" |
#include "content/browser/download/mhtml_generation_manager.h" |
-#include "content/browser/tab_contents/tab_contents.h" |
+#include "content/public/browser/web_contents.h" |
#include "net/test/test_server.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+using content::WebContents; |
+ |
namespace { |
class MHTMLGenerationTest : public InProcessBrowserTest { |
@@ -55,7 +57,7 @@ |
ui_test_utils::NavigateToURL(browser(), |
test_server()->GetURL("files/google/google.html")); |
- TabContents* tab = browser()->GetSelectedTabContents(); |
+ WebContents* tab = browser()->GetSelectedWebContents(); |
MHTMLGenerationManager* mhtml_generation_manager = |
g_browser_process->mhtml_generation_manager(); |