RESOLVED INVALID71003
Web Inspector: remove ScriptStateProtectedPtr class.
https://bugs.webkit.org/show_bug.cgi?id=71003
Summary Web Inspector: remove ScriptStateProtectedPtr class.
Pavel Podivilov
Reported 2011-10-27 04:20:02 PDT
Web Inspector: remove ScriptStateProtectedPtr class. ScriptState is kept alive by ScriptArguments.m_arguments.
Attachments
Patch (5.59 KB, patch)
2011-10-27 04:21 PDT, Pavel Podivilov
gyuyoung.kim: commit-queue-
Pavel Podivilov
Comment 1 2011-10-27 04:21:26 PDT
Gyuyoung Kim
Comment 2 2011-10-27 04:27:19 PDT
Early Warning System Bot
Comment 3 2011-10-27 04:28:38 PDT
Gustavo Noronha (kov)
Comment 4 2011-10-27 04:35:18 PDT
Daniel Bates
Comment 5 2011-10-27 07:34:42 PDT
Pavel Podivilov
Comment 6 2011-10-27 08:46:15 PDT
In JSC strong references to objects don't keep global object alive.
Gavin Barraclough
Comment 7 2011-10-27 11:19:49 PDT
(In reply to comment #6) > In JSC strong references to objects don't keep global object alive. Sure they do (now, at least - you're right that they didn't previously). All objects have a structure, the structure has a pointer to the globalObject, which will be marked during GC. Maybe I'm missing something, but this change does look valid to me.
Note You need to log in before you can comment on or make changes to this bug.