Commit 99fc1339 authored by khmel's avatar khmel Committed by Commit bot

arc: Fix link to privacy in OptIn UI.

This fixes the regression caused by refactoring.

TEST=Manually
BUG=32545771
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2541553002
Cr-Commit-Position: refs/heads/master@{#435030}
parent 90f727ce
......@@ -568,7 +568,8 @@ function showURLOverlay(url) {
* the content of terms view.
*/
function showPrivacyPolicyOverlay() {
termsView.executeScript({code: 'getPrivacyPolicyLink();'}, function(results) {
var details = {code: 'getPrivacyPolicyLink();'};
termsPage.termsView_.executeScript(details, function(results) {
if (results && results.length == 1 && typeof results[0] == 'string') {
showURLOverlay(results[0]);
} else {
......
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