diff options
Diffstat (limited to 'chromium/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js')
-rw-r--r-- | chromium/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js b/chromium/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js index 15f2938a946..a0d64ef86fa 100644 --- a/chromium/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js +++ b/chromium/chrome/browser/resources/chromeos/chromevox/chromevox/background/prefs.js @@ -32,7 +32,7 @@ cvox.ChromeVoxPrefs = function() { if (lastRunVersion == '1.16.0') { loadExistingSettings = false; } - localStorage['lastRunVersion'] = chrome.app.getDetails().version; + localStorage['lastRunVersion'] = chrome.runtime.getManifest().version; /** * The current mapping from keys to command. @@ -56,7 +56,7 @@ cvox.ChromeVoxPrefs = function() { /** * The default value of all preferences except the key map. * @const - * @type {Object<string, Object>} + * @type {Object<Object>} */ cvox.ChromeVoxPrefs.DEFAULT_PREFS = { 'active': true, @@ -125,7 +125,7 @@ cvox.ChromeVoxPrefs.prototype.getPrefs = function() { for (var pref in cvox.ChromeVoxPrefs.DEFAULT_PREFS) { prefs[pref] = localStorage[pref]; } - prefs['version'] = chrome.app.getDetails().version; + prefs['version'] = chrome.runtime.getManifest().version; return prefs; }; |