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

Unified Diff: remoting/webapp/app_remoting/js/loading_window.js

Issue 908463003: [Chromoting] Use platformIsMac instead of checking navigator.platform directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« 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: remoting/webapp/app_remoting/js/loading_window.js
diff --git a/remoting/webapp/app_remoting/js/loading_window.js b/remoting/webapp/app_remoting/js/loading_window.js
index 98a710e9e850acc79328dc71ad7c075e09ddf709..5aaa1d2ca8d8b797a88be96e88b1dc7554c04d91 100644
--- a/remoting/webapp/app_remoting/js/loading_window.js
+++ b/remoting/webapp/app_remoting/js/loading_window.js
@@ -43,7 +43,7 @@ remoting.LoadingWindow.show = function() {
var kConnectionTimeout = 15 * 60 * 1000;
var transparencyWarning = '';
- if (navigator.platform.indexOf('Mac') != -1) {
+ if (remoting.platformIsMac()) {
transparencyWarning =
chrome.i18n.getMessage(/*i18n-content*/'NO_TRANSPARENCY_WARNING');
}
« 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