Changeset 117450 in webkit


Ignore:
Timestamp:
May 17, 2012 8:21:08 AM (12 years ago)
Author:
yurys@chromium.org
Message:

[Chromium] Web Inspector: assertion failure when inspecting a shared worker in debug mode
https://bugs.webkit.org/show_bug.cgi?id=86726

Reviewed by Pavel Feldman.

No need to keep RefPtr to WorkerThread in a task that will be executed on
that thread, raw pointer can be used instead.

  • inspector/WorkerDebuggerAgent.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117448 r117450  
     12012-05-17  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        [Chromium] Web Inspector: assertion failure when inspecting a shared worker in debug mode
     4        https://bugs.webkit.org/show_bug.cgi?id=86726
     5
     6        Reviewed by Pavel Feldman.
     7
     8        No need to keep RefPtr to WorkerThread in a task that will be executed on
     9        that thread, raw pointer can be used instead.
     10
     11        * inspector/WorkerDebuggerAgent.cpp:
     12
    1132012-05-17  Kentaro Hara  <haraken@chromium.org>
    214
  • trunk/Source/WebCore/inspector/WorkerDebuggerAgent.cpp

    r114632 r117450  
    6868        // Process all queued debugger commands. It is safe to use m_workerContext here
    6969        // because it is alive if RunWorkerLoop is not terminated, otherwise it will
    70         // just be ignored.
     70        // just be ignored. WorkerThread is certainly alive if this task is being executed.
    7171        while (MessageQueueMessageReceived == m_thread->runLoop().runInMode(m_workerContext, WorkerDebuggerAgent::debuggerTaskMode, WorkerRunLoop::DontWaitForMessage)) { }
    7272    }
    7373
    7474private:
    75     RefPtr<WorkerThread> m_thread;
     75    WorkerThread* m_thread;
    7676    WorkerContext* m_workerContext;
    7777};
Note: See TracChangeset for help on using the changeset viewer.