Index: trunk/src/webkit/glue/cpp_bound_class.h |
=================================================================== |
--- trunk/src/webkit/glue/cpp_bound_class.h (revision 202368) |
+++ trunk/src/webkit/glue/cpp_bound_class.h (working copy) |
@@ -133,8 +133,9 @@ |
// reference to this object, and it is released on deletion. |
CppVariant self_variant_; |
- // Dummy NPP to use to register as owner for NPObjects. |
- scoped_ptr<NPP_t> npp_; |
+ // True if our np_object has been bound to a WebFrame, in which case it must |
+ // be unregistered with V8 when we delete it. |
+ bool bound_to_frame_; |
DISALLOW_COPY_AND_ASSIGN(CppBoundClass); |
}; |