| Index: Source/bindings/v8/ScriptWrappable.h
 | 
| diff --git a/Source/bindings/v8/ScriptWrappable.h b/Source/bindings/v8/ScriptWrappable.h
 | 
| index 45f3e7c002b3404ac4ab68a40cf5ca8f42b48393..b0da90ecfa656fca06d0dc7c2b75e2822ce5a1ae 100644
 | 
| --- a/Source/bindings/v8/ScriptWrappable.h
 | 
| +++ b/Source/bindings/v8/ScriptWrappable.h
 | 
| @@ -31,6 +31,7 @@
 | 
|  #ifndef ScriptWrappable_h
 | 
|  #define ScriptWrappable_h
 | 
|  
 | 
| +#include "bindings/v8/UnsafePersistent.h"
 | 
|  #include "bindings/v8/V8Utilities.h"
 | 
|  #include "bindings/v8/WrapperTypeInfo.h"
 | 
|  #include "core/dom/WebCoreMemoryInstrumentation.h"
 | 
| @@ -152,6 +153,14 @@ protected:
 | 
|      }
 | 
|  
 | 
|  private:
 | 
| +    friend class MinorGCWrapperVisitor; // For calling unsafePersistent.
 | 
| +
 | 
| +    UnsafePersistent<v8::Object> unsafePersistent() const
 | 
| +    {
 | 
| +        ASSERT(containsWrapper());
 | 
| +        return UnsafePersistent<v8::Object>(reinterpret_cast<v8::Object*>(maskOrUnmaskValue(m_maskedStorage)));
 | 
| +    }
 | 
| +
 | 
|      inline bool containsWrapper() const { return (m_maskedStorage & 1) == 1; }
 | 
|      inline bool containsTypeInfo() const { return m_maskedStorage && ((m_maskedStorage & 1) == 0); }
 | 
|  
 | 
| 
 |