summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/tracing_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/tracing_ui.cc')
-rw-r--r--chrome/browser/ui/webui/tracing_ui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/tracing_ui.cc b/chrome/browser/ui/webui/tracing_ui.cc
index 8db166c..ab81f84 100644
--- a/chrome/browser/ui/webui/tracing_ui.cc
+++ b/chrome/browser/ui/webui/tracing_ui.cc
@@ -321,7 +321,7 @@ void TracingMessageHandler::LoadTraceFileComplete(std::string* file_contents) {
std::string javascript = "tracingController.onLoadTraceFileComplete("
+ *file_contents + ");";
- web_ui_->tab_contents()->render_view_host()->
+ web_ui_->tab_contents()->GetRenderViewHost()->
ExecuteJavascriptInWebFrame(string16(), UTF8ToUTF16(javascript));
}
@@ -395,7 +395,7 @@ void TracingMessageHandler::OnTraceDataCollected(
trace_buffer.Finish();
output.Append(");");
- web_ui_->tab_contents()->render_view_host()->
+ web_ui_->tab_contents()->GetRenderViewHost()->
ExecuteJavascriptInWebFrame(string16(), UTF8ToUTF16(output.json_output));
}