2009-07-24 Drew Wilson <atwilson@google.com>
authordimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Jul 2009 21:31:05 +0000 (21:31 +0000)
committerdimich@chromium.org <dimich@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Jul 2009 21:31:05 +0000 (21:31 +0000)
commit7a8b3ab90e998d1863238f00d461247f2002f729
tree0721927e33a5e1e3abd738476e29899c13eb75f7
parent07faca3e804e4f9ab838593abd9b4911718bdcb9
2009-07-24  Drew Wilson  <atwilson@google.com>

        Reviewed by David Levin.

        Changed WorkerContext destructor to not access possibly-freed WorkerThread.

        Failed assertion in WorkerContext::~WorkerContext().
        https://bugs.webkit.org/show_bug.cgi?id=27665

       * workers/DedicatedWorkerContext.cpp:
        (WebCore::DedicatedWorkerContext::~DedicatedWorkerContext):
        * workers/WorkerContext.cpp:
        (WebCore::WorkerContext::~WorkerContext):
        Removed assertion that relies on WorkerThread still being alive (moved to DedicatedWorkerContext destructor).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@46376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/workers/DedicatedWorkerContext.cpp
WebCore/workers/WorkerContext.cpp