DescriptionSupport ignorance of base class finalizers.
When checking if a class needs a finalizer, allow some of its base
classes to be ignored, even if they do have a declared destructor.
This is done so as to handle WebCore::ScriptWrappable use better while
in transition. i.e., WebCore::ScriptWrappable's destructor does not
have to be invoked when sweeping, and when Oilpan will be on by
default, ScriptWrappable will not define one. However, until that
time, it still provides a user-defined destructor, and to allow the
class to be used as base in conjunction with GarbageCollected<>, we
will now look past it when checking the finalizer requirement.
R=zerny@chromium.org
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281758
Patch Set 1 #
Total comments: 2
Patch Set 2 : Reworked, static check now expressed by RecordInfo::NeedsFinalization() #
Total comments: 13
Patch Set 3 : Use early returns instead of fallthrough #Messages
Total messages: 17 (0 generated)
|