summaryrefslogtreecommitdiff
path: root/Source/WebCore/bindings/js/ScriptWrappable.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/js/ScriptWrappable.h')
-rw-r--r--Source/WebCore/bindings/js/ScriptWrappable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/js/ScriptWrappable.h b/Source/WebCore/bindings/js/ScriptWrappable.h
index 3cb5d816c..cd0873aff 100644
--- a/Source/WebCore/bindings/js/ScriptWrappable.h
+++ b/Source/WebCore/bindings/js/ScriptWrappable.h
@@ -32,6 +32,7 @@
#define ScriptWrappable_h
#include "JSDOMWrapper.h"
+#include "MemoryInstrumentation.h"
#include <heap/Weak.h>
namespace WebCore {
@@ -56,7 +57,7 @@ public:
void reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
{
- MemoryClassInfo<ScriptWrappable> info(memoryObjectInfo, this, MemoryInstrumentation::DOM);
+ MemoryClassInfo info(memoryObjectInfo, this, MemoryInstrumentation::DOM);
info.addMember(m_wrapper);
}