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

Unified Diff: chrome/test/data/webui/hung_renderer_dialog_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/hung_renderer_dialog_ui_test-inl.h
===================================================================
--- chrome/test/data/webui/hung_renderer_dialog_ui_test-inl.h (revision 116011)
+++ chrome/test/data/webui/hung_renderer_dialog_ui_test-inl.h (working copy)
@@ -41,9 +41,9 @@
// Now we can get the WebUI object from the observer, and make some details
// about our test available to the JavaScript.
WebUI* webui = dialog_observer.GetWebUI();
- webui->tab_contents()->GetRenderViewHost()->SetWebUIProperty(
+ webui->web_contents()->GetRenderViewHost()->SetWebUIProperty(
"expectedUrl", chrome::kChromeUIHungRendererDialogURL);
- webui->tab_contents()->GetRenderViewHost()->SetWebUIProperty(
+ webui->web_contents()->GetRenderViewHost()->SetWebUIProperty(
"expectedTitle", "about:blank");
// Tell the test which WebUI instance we are dealing with and complete
« no previous file with comments | « chrome/test/data/webui/edit_search_engine_dialog_browsertest.cc ('k') | content/browser/webui/generic_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698