commit | 44b562c07fdd40bfaf6fc80394973393e9f6d778 | [log] [tgz] |
---|---|---|
author | Tao Zhou <taoalpha@google.com> | Tue Sep 03 15:22:46 2019 +0200 |
committer | Tao Zhou <taoalpha@google.com> | Tue Sep 03 15:22:46 2019 +0200 |
tree | bb9c74963e41c83313568ffd64c7d593570a1192 | |
parent | 237b8671bc0bcfbc924e647c0511d35fe8502ff9 [diff] |
Remove dead code in gr-storage Change-Id: Id1e024c21f9f41d67654cbbcabc4af0595a105e0
diff --git a/polygerrit-ui/app/elements/shared/gr-storage/gr-storage.js b/polygerrit-ui/app/elements/shared/gr-storage/gr-storage.js index 6146e0f..0690950 100644 --- a/polygerrit-ui/app/elements/shared/gr-storage/gr-storage.js +++ b/polygerrit-ui/app/elements/shared/gr-storage/gr-storage.js
@@ -76,14 +76,6 @@ this._storage.removeItem(this._getEditableContentKey(key)); }, - getPreferences() { - return this._getObject('localPrefs'); - }, - - savePreferences(localPrefs) { - this._setObject('localPrefs', localPrefs || null); - }, - _getDraftKey(location) { const range = location.range ? `${location.range.start_line}-${location.range.start_character}` +