Commit 30213c60 authored by Elad Alon's avatar Elad Alon Committed by Commit Bot

Remove use of CallJavascriptFunctionUnsafe from webrtc_logs_ui.cc

Bug: 775415
Change-Id: I24a08a3d000a5d06d2ada6a68a8d9245523ab538
Reviewed-on: https://chromium-review.googlesource.com/1177758Reviewed-by: default avatarBecca Hughes <beccahughes@chromium.org>
Commit-Queue: Elad Alon <eladalon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583690}
parent a627dcfe
...@@ -191,8 +191,8 @@ void WebRtcLogsDOMHandler::UpdateUI() { ...@@ -191,8 +191,8 @@ void WebRtcLogsDOMHandler::UpdateUI() {
base::Value version(version_info::GetVersionNumber()); base::Value version(version_info::GetVersionNumber());
web_ui()->CallJavascriptFunctionUnsafe("updateWebRtcLogsList", upload_list, AllowJavascript();
version); CallJavascriptFunction("updateWebRtcLogsList", upload_list, version);
} }
} // namespace } // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment