Fix a bug where the usage for an origin shows up as 0 in Website Settings when the origin

uses app cache but not database.
This commit is contained in:
Andrei Popescu
2010-01-08 16:41:23 +00:00
parent 624d39dd81
commit 9840970413

View File

@@ -389,8 +389,8 @@ public final class WebStorage {
mOrigins = new HashMap<String, Origin>();
for (String origin : tmp) {
Origin website = new Origin(origin,
nativeGetUsageForOrigin(origin),
nativeGetQuotaForOrigin(origin));
nativeGetQuotaForOrigin(origin),
nativeGetUsageForOrigin(origin));
mOrigins.put(origin, website);
}
}