summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/ScriptHeapSnapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/ScriptHeapSnapshot.h')
-rw-r--r--WebCore/bindings/js/ScriptHeapSnapshot.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/WebCore/bindings/js/ScriptHeapSnapshot.h b/WebCore/bindings/js/ScriptHeapSnapshot.h
index 4c3d915..a9432ad 100644
--- a/WebCore/bindings/js/ScriptHeapSnapshot.h
+++ b/WebCore/bindings/js/ScriptHeapSnapshot.h
@@ -38,22 +38,17 @@ namespace WebCore {
class ScriptHeapSnapshot : public RefCounted<ScriptHeapSnapshot> {
public:
- class OutputStream {
- public:
- virtual ~OutputStream() { }
- virtual void Write(const String& chunk) = 0;
- virtual void Close() = 0;
- };
-
- virtual ~ScriptHeapSnapshot() { }
+ virtual ~ScriptHeapSnapshot() {}
String title() const { return ""; }
unsigned int uid() const { return 0; }
- void writeJSON(OutputStream*) { }
+#if ENABLE(INSPECTOR)
+ PassRefPtr<InspectorObject> buildInspectorObjectForHead() const { return InspectorObject::create(); }
+#endif
private:
- ScriptHeapSnapshot() { }
+ ScriptHeapSnapshot() {}
};
} // namespace WebCore