Changeset 117450 in webkit
- Timestamp:
- May 17, 2012 8:21:08 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r117448 r117450 1 2012-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 1 13 2012-05-17 Kentaro Hara <haraken@chromium.org> 2 14 -
trunk/Source/WebCore/inspector/WorkerDebuggerAgent.cpp
r114632 r117450 68 68 // Process all queued debugger commands. It is safe to use m_workerContext here 69 69 // 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. 71 71 while (MessageQueueMessageReceived == m_thread->runLoop().runInMode(m_workerContext, WorkerDebuggerAgent::debuggerTaskMode, WorkerRunLoop::DontWaitForMessage)) { } 72 72 } 73 73 74 74 private: 75 RefPtr<WorkerThread>m_thread;75 WorkerThread* m_thread; 76 76 WorkerContext* m_workerContext; 77 77 };
Note: See TracChangeset
for help on using the changeset viewer.