Index: Source/core/inspector/InjectedScriptManager.h |
diff --git a/Source/core/inspector/InjectedScriptManager.h b/Source/core/inspector/InjectedScriptManager.h |
index f35fb937731b805206562b1cb832e5d8fad30efd..289613a5dbfdb75e063fa28b9780d85da15a3a31 100644 |
--- a/Source/core/inspector/InjectedScriptManager.h |
+++ b/Source/core/inspector/InjectedScriptManager.h |
@@ -49,17 +49,8 @@ class InjectedScriptManager : public NoBaseWillBeGarbageCollectedFinalized<Injec |
public: |
struct CallbackData { |
ScopedPersistent<v8::Object> handle; |
-#if ENABLE(OILPAN) |
- WrapperPersistent<InjectedScriptHost>* hostPtr; |
-#else |
- RefPtr<InjectedScriptHost> host; |
-#endif |
+ RefPtrWillBePersistent<InjectedScriptHost> host; |
InjectedScriptManager* injectedScriptManager; |
- |
-#if ENABLE(OILPAN) |
- CallbackData() : hostPtr(0) { } |
- ~CallbackData(); |
-#endif |
}; |
static PassOwnPtrWillBeRawPtr<InjectedScriptManager> createForPage(); |