[Webkit-unassigned] [Bug 31080] WebInspector: Handle turning TimelineAgent on/off in the middle of an event dispatch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 3 13:53:48 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31080





--- Comment #5 from Timothy Hatcher <timothy at hatcher.name>  2009-11-03 13:53:48 PDT ---
You could also habd back a TimelineAgent** and have it nulled out when
disabled.

We do this in JSC for the profiler.

        static Profiler** enabledProfilerReference()
        {
            return &s_sharedEnabledProfilerReference;
        }


    Profiler** profiler = Profiler::enabledProfilerReference();
    if (*profiler)
      …

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list