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

Unified Diff: client/dom/generated/wrapping_dom.js

Issue 8301007: Convert cache property from array to object. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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 | client/dom/scripts/template_wrapping_dom.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/generated/wrapping_dom.js
diff --git a/client/dom/generated/wrapping_dom.js b/client/dom/generated/wrapping_dom.js
index d4829a76d354ff7841ad3db51f6edc54cbcec5b6..7f71714a900671b2f62953ab70706f7bc8b87e82 100644
--- a/client/dom/generated/wrapping_dom.js
+++ b/client/dom/generated/wrapping_dom.js
@@ -26727,7 +26727,7 @@ function __dom_get_cached(hashtablename, obj, isolatetoken) {
function __dom_set_cached(hashtablename, obj, isolatetoken, value) {
var hashtable;
if (!obj.hasOwnProperty(hashtablename)) {
- hashtable = [];
+ hashtable = {};
obj[hashtablename] = hashtable;
} else {
hashtable = obj[hashtablename];
« no previous file with comments | « no previous file | client/dom/scripts/template_wrapping_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698