diff options
Diffstat (limited to 'chrome/browser/tab_contents/view_source_uitest.cc')
-rw-r--r-- | chrome/browser/tab_contents/view_source_uitest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/view_source_uitest.cc b/chrome/browser/tab_contents/view_source_uitest.cc index dd01e49..04499ff 100644 --- a/chrome/browser/tab_contents/view_source_uitest.cc +++ b/chrome/browser/tab_contents/view_source_uitest.cc @@ -46,6 +46,7 @@ TEST_F(ViewSourceTest, DoesBrowserRenderInViewSource) { GURL url = server->TestServerPageW(test_html_); url = GURL("view-source:" + url.spec()); scoped_refptr<TabProxy> tab(GetActiveTab()); + ASSERT_TRUE(tab.get()); tab->NavigateToURL(url); PlatformThread::Sleep(sleep_timeout_ms()); |