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

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

Issue 148253005: DevTools: remove references to modules/indexeddb from core/inspector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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
Index: Source/devtools/front_end/IndexedDBModel.js
diff --git a/Source/devtools/front_end/IndexedDBModel.js b/Source/devtools/front_end/IndexedDBModel.js
index 0be9ed8093daba68043a819d78558ccf03912ab6..aa9ec16e23b3090bd73b1bef4e003862e372ca4c 100644
--- a/Source/devtools/front_end/IndexedDBModel.js
+++ b/Source/devtools/front_end/IndexedDBModel.js
@@ -379,9 +379,9 @@ WebInspector.IndexedDBModel.prototype = {
return;
var entries = [];
for (var i = 0; i < dataEntries.length; ++i) {
- var key = WebInspector.RemoteObject.fromPayload(dataEntries[i].key);
- var primaryKey = WebInspector.RemoteObject.fromPayload(dataEntries[i].primaryKey);
- var value = WebInspector.RemoteObject.fromPayload(dataEntries[i].value);
+ var key = WebInspector.RemoteObject.fromLocalObject(JSON.parse(dataEntries[i].key));
vsevik 2014/06/04 05:48:32 Now that we use LocalObject instead of RemoteObjec
+ var primaryKey = WebInspector.RemoteObject.fromLocalObject(JSON.parse(dataEntries[i].primaryKey));
+ var value = WebInspector.RemoteObject.fromLocalObject(JSON.parse(dataEntries[i].value));
entries.push(new WebInspector.IndexedDBModel.Entry(key, primaryKey, value));
}
callback(entries, hasMore);

Powered by Google App Engine
This is Rietveld 408576698