Commit c768e430 authored by garykac's avatar garykac Committed by Commit bot

[Chromoting] Use platformIsMac instead of checking navigator.platform directly.

BUG=

Review URL: https://codereview.chromium.org/908463003

Cr-Commit-Position: refs/heads/master@{#315100}
parent 6d9327fd
......@@ -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');
}
......
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