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

Unified Diff: chrome/browser/ui/webui/profiler_ui.cc

Issue 1995113002: Rename WebUI::CallJavascriptFunction to WebUI::CallJavascriptFunctionUnsafe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/profiler_ui.cc
diff --git a/chrome/browser/ui/webui/profiler_ui.cc b/chrome/browser/ui/webui/profiler_ui.cc
index e32ad59171da4df3d0a49f2d893fe6446214d330..b886847237e841db20a3e94810a801c55f39377e 100644
--- a/chrome/browser/ui/webui/profiler_ui.cc
+++ b/chrome/browser/ui/webui/profiler_ui.cc
@@ -173,5 +173,6 @@ void ProfilerUI::ReceivedProfilerData(
&json_data);
// Send the data to the renderer.
- web_ui()->CallJavascriptFunction("g_browserBridge.receivedData", json_data);
+ web_ui()->CallJavascriptFunctionUnsafe("g_browserBridge.receivedData",
+ json_data);
}

Powered by Google App Engine
This is Rietveld 408576698