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

Unified Diff: Source/devtools/front_end/DOMStorage.js

Issue 22396002: function storageForId() should be used in _domStorageItemUpdated instead of DOMStorageModel._storag… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/DOMStorage.js
diff --git a/Source/devtools/front_end/DOMStorage.js b/Source/devtools/front_end/DOMStorage.js
index 0cbe6ee9d609b78b4d08b5ef320a7fc9ca3005c2..91711201ec1ff8d1afa6aefb1df87de4f9472f39 100644
--- a/Source/devtools/front_end/DOMStorage.js
+++ b/Source/devtools/front_end/DOMStorage.js
@@ -431,7 +431,7 @@ WebInspector.DOMStorageModel.prototype = {
*/
_domStorageItemUpdated: function(storageId, key, oldValue, newValue)
{
- var domStorage = this._storages[storageId];
+ var domStorage = this.storageForId(storageId);
apavlov 2013/08/06 09:31:18 Can you add a test for this?
aandrey 2013/08/06 10:55:19 this should have been caught by the jscompiler. pl
var storageData = {
storage: domStorage,
key: key,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698