| Index: Source/WebCore/bindings/v8/ScriptProfile.h
|
| diff --git a/Source/WebCore/bindings/v8/ScriptProfile.h b/Source/WebCore/bindings/v8/ScriptProfile.h
|
| index abbdb4d9e7b3882c977b8690f58c44cc19d86b87..3140d68706911ce48b8e2aab6773c0183727d86e 100644
|
| --- a/Source/WebCore/bindings/v8/ScriptProfile.h
|
| +++ b/Source/WebCore/bindings/v8/ScriptProfile.h
|
| @@ -31,23 +31,18 @@
|
| #ifndef ScriptProfile_h
|
| #define ScriptProfile_h
|
|
|
| +#include "InspectorTypeBuilder.h"
|
| #include "ScriptProfileNode.h"
|
| #include <wtf/RefCounted.h>
|
| #include <wtf/text/WTFString.h>
|
|
|
| -#if ENABLE(INSPECTOR)
|
| -#include "InspectorTypeBuilder.h"
|
| -#endif
|
| -
|
| namespace v8 {
|
| class CpuProfile;
|
| }
|
|
|
| namespace WebCore {
|
|
|
| -#if ENABLE(INSPECTOR)
|
| class InspectorObject;
|
| -#endif
|
|
|
| class ScriptProfile : public RefCounted<ScriptProfile> {
|
| public:
|
| @@ -62,10 +57,8 @@ public:
|
| PassRefPtr<ScriptProfileNode> head() const;
|
| double idleTime() const;
|
|
|
| -#if ENABLE(INSPECTOR)
|
| PassRefPtr<TypeBuilder::Profiler::CPUProfileNode> buildInspectorObjectForHead() const;
|
| PassRefPtr<TypeBuilder::Array<int> > buildInspectorObjectForSamples() const;
|
| -#endif
|
|
|
| private:
|
| ScriptProfile(const v8::CpuProfile* profile, double idleTime)
|
|
|