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

Unified Diff: chrome/browser/ui/webui/media/media_internals_handler.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 months 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/browser/ui/webui/media/media_internals_handler.cc
diff --git a/chrome/browser/ui/webui/media/media_internals_handler.cc b/chrome/browser/ui/webui/media/media_internals_handler.cc
index cb6dbd0b1b9a3d03f9cf38c05a9a1196ba26cbef..ce5d0cc55cd8f2ed9a64b169ed0af8ec648de3d9 100644
--- a/chrome/browser/ui/webui/media/media_internals_handler.cc
+++ b/chrome/browser/ui/webui/media/media_internals_handler.cc
@@ -38,7 +38,8 @@ void MediaInternalsMessageHandler::OnGetEverything(const ListValue* list) {
void MediaInternalsMessageHandler::OnUpdate(const string16& update) {
// Don't try to execute JavaScript in a RenderView that no longer exists.
- RenderViewHost* host = web_ui()->GetWebContents()->GetRenderViewHost();
+ content::RenderViewHost* host =
+ web_ui()->GetWebContents()->GetRenderViewHost();
if (host)
host->ExecuteJavascriptInWebFrame(string16(), update);
}
« no previous file with comments | « chrome/browser/ui/webui/html_dialog_ui.cc ('k') | chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698