summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/ScriptProfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/ScriptProfile.cpp')
-rw-r--r--WebCore/bindings/v8/ScriptProfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/bindings/v8/ScriptProfile.cpp b/WebCore/bindings/v8/ScriptProfile.cpp
index 32e0066..95ac0de 100644
--- a/WebCore/bindings/v8/ScriptProfile.cpp
+++ b/WebCore/bindings/v8/ScriptProfile.cpp
@@ -72,9 +72,9 @@ static PassRefPtr<InspectorObject> buildInspectorObjectFor(const v8::CpuProfileN
const int childrenCount = node->GetChildrenCount();
for (int i = 0; i < childrenCount; i++) {
const v8::CpuProfileNode* child = node->GetChild(i);
- children->push(buildInspectorObjectFor(child));
+ children->pushObject(buildInspectorObjectFor(child));
}
- result->set("children", children);
+ result->setArray("children", children);
return result;
}