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

Unified Diff: chrome/browser/resources/chromeos/login/lock.js

Issue 2427073002: cros: Fixed 3 bugs for pin unlock. (Closed)
Patch Set: Rebased. Created 4 years, 2 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 | ui/login/account_picker/screen_account_picker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/lock.js
diff --git a/chrome/browser/resources/chromeos/login/lock.js b/chrome/browser/resources/chromeos/login/lock.js
index 61819a6b5adace6de0967efc208ef17d6c4aa874..0e2a3d18d6342a0f40135f0c1ef50b29e27c186d 100644
--- a/chrome/browser/resources/chromeos/login/lock.js
+++ b/chrome/browser/resources/chromeos/login/lock.js
@@ -17,7 +17,7 @@ function showPinKeyboardAsync() {
// This function could get called multiple times. Do nothing if we have
// already loaded. This check needs to happen before the registerAssets call,
// because that will clobber the loaded state.
- if (cr.ui.login.ResourceLoader.alreadyLoadedAssets('custom-elements'))
+ if (cr.ui.login.ResourceLoader.hasDeferredAssets('custom-elements'))
return;
// Register loader for custom elements.
« no previous file with comments | « no previous file | ui/login/account_picker/screen_account_picker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698