X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Finspector%2FInjectedScriptManager.h;h=f35fb937731b805206562b1cb832e5d8fad30efd;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=289613a5dbfdb75e063fa28b9780d85da15a3a31;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/inspector/InjectedScriptManager.h b/src/third_party/WebKit/Source/core/inspector/InjectedScriptManager.h index 289613a..f35fb93 100644 --- a/src/third_party/WebKit/Source/core/inspector/InjectedScriptManager.h +++ b/src/third_party/WebKit/Source/core/inspector/InjectedScriptManager.h @@ -49,8 +49,17 @@ class InjectedScriptManager : public NoBaseWillBeGarbageCollectedFinalized handle; - RefPtrWillBePersistent host; +#if ENABLE(OILPAN) + WrapperPersistent* hostPtr; +#else + RefPtr host; +#endif InjectedScriptManager* injectedScriptManager; + +#if ENABLE(OILPAN) + CallbackData() : hostPtr(0) { } + ~CallbackData(); +#endif }; static PassOwnPtrWillBeRawPtr createForPage();