| Index: gin/function_template.h
|
| diff --git a/gin/function_template.h b/gin/function_template.h
|
| index 7e33994eedbacf7b9ee79a22ffb0e7c50c0f7c09..37f4065edc0aff7c9715b88eb75d931c0da6195d 100644
|
| --- a/gin/function_template.h
|
| +++ b/gin/function_template.h
|
| @@ -55,10 +55,10 @@ struct CallbackParamTraits<const T*> {
|
| // It inherits from Wrappable, which delete itself when both (a) the refcount
|
| // via base::RefCounted has dropped to zero, and (b) there are no more
|
| // JavaScript references in V8.
|
| -class CallbackHolderBase : public Wrappable {
|
| - public:
|
| - virtual WrapperInfo* GetWrapperInfo() OVERRIDE;
|
| - static WrapperInfo kWrapperInfo;
|
| +
|
| +// This simple base class is used so that we can share a single object template
|
| +// among every CallbackHolder instance.
|
| +class CallbackHolderBase : public Wrappable<CallbackHolderBase> {
|
| protected:
|
| virtual ~CallbackHolderBase() {}
|
| };
|
|
|