summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/InspectorApplicationCacheAgent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/InspectorApplicationCacheAgent.cpp')
-rw-r--r--WebCore/inspector/InspectorApplicationCacheAgent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/inspector/InspectorApplicationCacheAgent.cpp b/WebCore/inspector/InspectorApplicationCacheAgent.cpp
index b95c0e1..1206184 100644
--- a/WebCore/inspector/InspectorApplicationCacheAgent.cpp
+++ b/WebCore/inspector/InspectorApplicationCacheAgent.cpp
@@ -82,7 +82,7 @@ PassRefPtr<InspectorObject> InspectorApplicationCacheAgent::buildObjectForApplic
value->setString("lastPathComponent", applicationCacheInfo.m_manifest.lastPathComponent());
value->setNumber("creationTime", applicationCacheInfo.m_creationTime);
value->setNumber("updateTime", applicationCacheInfo.m_updateTime);
- value->set("resources", buildArrayForApplicationCacheResources(applicationCacheResources));
+ value->setArray("resources", buildArrayForApplicationCacheResources(applicationCacheResources));
return value;
}
@@ -93,7 +93,7 @@ PassRefPtr<InspectorArray> InspectorApplicationCacheAgent::buildArrayForApplicat
ApplicationCacheHost::ResourceInfoList::const_iterator end = applicationCacheResources.end();
ApplicationCacheHost::ResourceInfoList::const_iterator it = applicationCacheResources.begin();
for (int i = 0; it != end; ++it, i++)
- resources->push(buildObjectForApplicationCacheResource(*it));
+ resources->pushObject(buildObjectForApplicationCacheResource(*it));
return resources;
}