Index: content/browser/file_system/file_system_browsertest.cc |
=================================================================== |
--- content/browser/file_system/file_system_browsertest.cc (revision 116109) |
+++ content/browser/file_system/file_system_browsertest.cc (working copy) |
@@ -40,11 +40,11 @@ |
ui_test_utils::NavigateToURLBlockUntilNavigationsComplete( |
the_browser, test_url, 2); |
LOG(INFO) << "Navigation done."; |
- std::string result = the_browser->GetSelectedTabContents()->GetURL().ref(); |
+ std::string result = the_browser->GetSelectedWebContents()->GetURL().ref(); |
if (result != "pass") { |
std::string js_result; |
ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractString( |
- the_browser->GetSelectedTabContents()->GetRenderViewHost(), L"", |
+ the_browser->GetSelectedWebContents()->GetRenderViewHost(), L"", |
L"window.domAutomationController.send(getLog())", &js_result)); |
FAIL() << "Failed: " << js_result; |
} |