diff options
Diffstat (limited to 'WebCore/bindings/js/ScriptProfile.cpp')
-rw-r--r-- | WebCore/bindings/js/ScriptProfile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/bindings/js/ScriptProfile.cpp b/WebCore/bindings/js/ScriptProfile.cpp index 8731ec2..84451fb 100644 --- a/WebCore/bindings/js/ScriptProfile.cpp +++ b/WebCore/bindings/js/ScriptProfile.cpp @@ -66,6 +66,7 @@ ScriptProfileNode* ScriptProfile::head() const return m_profile->head(); } +#if ENABLE(INSPECTOR) static PassRefPtr<InspectorObject> buildInspectorObjectFor(const JSC::ProfileNode* node) { RefPtr<InspectorObject> result = InspectorObject::create(); @@ -94,6 +95,7 @@ PassRefPtr<InspectorObject> ScriptProfile::buildInspectorObjectForHead() const { return buildInspectorObjectFor(m_profile->head()); } +#endif } // namespace WebCore |