Index: ppapi/cpp/instance.cc |
diff --git a/ppapi/cpp/instance.cc b/ppapi/cpp/instance.cc |
index c9b50ffda62789b0d9364e91f730eee4ec994089..f2a181ac166249b0cc5d488faf76822dcdae32da 100644 |
--- a/ppapi/cpp/instance.cc |
+++ b/ppapi/cpp/instance.cc |
@@ -42,13 +42,6 @@ Instance::Instance(PP_Instance instance) : pp_instance_(instance) { |
} |
Instance::~Instance() { |
- // Ensure that all per-instance objects have been removed. Generally, these |
- // objects should have their lifetime scoped to the instance, such as being |
- // instance members or even implemented by your instance sub-class directly. |
- // |
- // If they're not unregistered at this point, they will usually have a |
- // dangling reference to the instance, which can cause a crash later. |
- PP_DCHECK(interface_name_to_objects_.empty()); |
} |
bool Instance::Init(uint32_t /*argc*/, const char* /*argn*/[], |