Commit 00a27955 authored by hiroshige's avatar hiroshige Committed by Commit bot

Remove PendingScript's prefinalizer

We don't have to clear |client_| and |element_| because they are Member<>,
and also we can left other members of PendingScript as we can leave the
object in a potentially corrupted state after prefinalization.

Also, after https://codereview.chromium.org/2837363003/, PendingScript
seems not touched during other prefinalizers.

BUG=715309

Review-Url: https://codereview.chromium.org/2839033002
Cr-Commit-Position: refs/heads/master@{#467235}
parent 4cf46bce
......@@ -58,7 +58,6 @@ class CORE_EXPORT PendingScriptClient : public GarbageCollectedMixin {
// https://html.spec.whatwg.org/#the-script-is-ready via PendingScriptClient.
class CORE_EXPORT PendingScript
: public GarbageCollectedFinalized<PendingScript> {
USING_PRE_FINALIZER(PendingScript, Dispose);
WTF_MAKE_NONCOPYABLE(PendingScript);
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment