Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1588)

Unified Diff: chrome/test/data/webui/certificate_viewer_ui_test-inl.h

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/webui/certificate_viewer_ui_test-inl.h
===================================================================
--- chrome/test/data/webui/certificate_viewer_ui_test-inl.h (revision 116011)
+++ chrome/test/data/webui/certificate_viewer_ui_test-inl.h (working copy)
@@ -40,7 +40,7 @@
TestHtmlDialogObserver dialog_observer(this);
::ShowCertificateViewer(browser()->window()->GetNativeHandle(), google_cert);
WebUI* webui = dialog_observer.GetWebUI();
- webui->tab_contents()->GetRenderViewHost()->SetWebUIProperty(
+ webui->web_contents()->GetRenderViewHost()->SetWebUIProperty(
"expectedUrl", chrome::kChromeUICertificateViewerURL);
SetWebUIInstance(webui);
WebUIBrowserTest::SetUpOnMainThread();
« no previous file with comments | « chrome/test/base/test_html_dialog_observer.cc ('k') | chrome/test/data/webui/edit_search_engine_dialog_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698