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

Unified Diff: chrome/browser/resources/chromeos/arc_support/background.js

Issue 2541553002: arc: Fix link to privacy in OptIn UI. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/arc_support/background.js
diff --git a/chrome/browser/resources/chromeos/arc_support/background.js b/chrome/browser/resources/chromeos/arc_support/background.js
index c0b67162c9878677d716b7defefab1fdd0246e20..d47a9ac7aabcbaf2b28bbb9b341da0386b226592 100644
--- a/chrome/browser/resources/chromeos/arc_support/background.js
+++ b/chrome/browser/resources/chromeos/arc_support/background.js
@@ -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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698