Index: Source/bindings/v8/ScriptWrappable.h |
diff --git a/Source/bindings/v8/ScriptWrappable.h b/Source/bindings/v8/ScriptWrappable.h |
index b8614908efbbd6abaad42b1545e2da55ea244709..790cc7023f0a3614f42510a9d9136616886118fe 100644 |
--- a/Source/bindings/v8/ScriptWrappable.h |
+++ b/Source/bindings/v8/ScriptWrappable.h |
@@ -32,7 +32,6 @@ |
#define ScriptWrappable_h |
#include "V8Utilities.h" |
-#include "WebCoreMemoryInstrumentation.h" |
#include "WrapperTypeInfo.h" |
#include <v8.h> |
@@ -93,12 +92,6 @@ public: |
ASSERT(containsTypeInfo()); |
} |
- void reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
- { |
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM); |
- info.ignoreMember(m_maskedStorage); |
- } |
- |
static bool wrapperCanBeStoredInObject(const void*) { return false; } |
static bool wrapperCanBeStoredInObject(const ScriptWrappable*) { return true; } |
@@ -162,7 +155,7 @@ private: |
// bit(s), this automatically set the wrapper flag in the bottom bit upon encoding. Simiarlry,this |
// automatically zeros out the bit upon decoding. Additionally, since setWrapper() now performs an explicit |
// null test, and wrapper() requires the bottom bit to be set, there is no need to preserve null here. |
- const uintptr_t randomMask = ~((reinterpret_cast<uintptr_t>(&WebCoreMemoryTypes::DOM) >> 13)) | 1; |
+ const uintptr_t randomMask = 15; |
return value ^ randomMask; |
} |