Index: ui/login/account_picker/user_pod_row.js |
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js |
index 3dc15f0745dfb11ba4eb2ac4694556ac29da0c3c..60954dec36d2124f019aa044c1a9a290ce8e1091 100644 |
--- a/ui/login/account_picker/user_pod_row.js |
+++ b/ui/login/account_picker/user_pod_row.js |
@@ -2321,6 +2321,10 @@ cr.define('login', function() { |
// First check whether focused pod is already fully visible. |
var visibleArea = $('scroll-container'); |
+ // Visible area may not defined at user manager screen on all platforms. |
+ // Windows, Mac and Linux do not have visible area. |
+ if (!visibleArea) |
+ return; |
var scrollTop = visibleArea.scrollTop; |
var clientHeight = visibleArea.clientHeight; |
var podTop = $('oobe').offsetTop + pod.offsetTop; |