Changeset 93654 in webkit
- Timestamp:
- Aug 23, 2011 4:22:19 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r93652 r93654 1 2011-08-23 Dmitry Lomov <Dmitry Lomov (dslomov@google.com)> 2 3 https://bugs.webkit.org/show_bug.cgi?id=66751 4 [Chromium]WebWorkerClientImpl should always invoke 5 InspectorIntrumentation on main thread. 6 The fix moves calls to InspectorInstrumentation from 7 WebWorkerClientImpl to unedrlying WorkerMessagingProxy. 8 9 Reviewed by Pavel Feldman. 10 11 Covered by existing tests. 12 13 * inspector/InstrumentingAgents.cpp: 14 (WebCore::instrumentationForPage): 15 * workers/WorkerMessagingProxy.cpp: 16 (WebCore::WorkerMessagingProxy::workerContextDestroyedInternal): 17 (WebCore::WorkerMessagingProxy::terminateWorkerContext): 18 1 19 2011-08-23 Misha Tyutyunik <michael.tyutyunik@nokia.com> 2 20 -
trunk/Source/WebCore/inspector/InstrumentingAgents.cpp
r92677 r93654 43 43 InstrumentingAgents* instrumentationForPage(Page* page) 44 44 { 45 ASSERT(isMainThread()); 45 46 if (InspectorController* controller = page->inspectorController()) 46 47 return controller->m_instrumentingAgents.get(); -
trunk/Source/WebCore/workers/WorkerMessagingProxy.cpp
r92068 r93654 39 39 #include "ErrorEvent.h" 40 40 #include "ExceptionCode.h" 41 #include "InspectorInstrumentation.h" 41 42 #include "MessageEvent.h" 42 43 #include "ScriptCallStack.h" … … 341 342 m_askedToTerminate = true; 342 343 m_workerThread = 0; 344 345 InspectorInstrumentation::workerContextTerminated(m_scriptExecutionContext.get(), this); 346 343 347 if (!m_workerObject) 344 348 delete this; … … 353 357 if (m_workerThread) 354 358 m_workerThread->stop(); 359 360 InspectorInstrumentation::workerContextTerminated(m_scriptExecutionContext.get(), this); 355 361 } 356 362 -
trunk/Source/WebKit/chromium/ChangeLog
r93632 r93654 1 2011-08-23 Dmitry Lomov <Dmitry Lomov (dslomov@google.com)> 2 3 https://bugs.webkit.org/show_bug.cgi?id=66751 4 [Chromium]WebWorkerClientImpl should always invoke 5 InspectorIntrumentation on main thread. 6 The fix moves calls to InspectorInstrumentation from 7 WebWorkerClientImpl to unedrlying WorkerMessagingProxy. 8 9 Reviewed by Pavel Feldman. 10 11 * src/WebWorkerClientImpl.cpp: 12 (WebKit::WebWorkerClientImpl::terminateWorkerContext): 13 (WebKit::WebWorkerClientImpl::workerContextDestroyed): 14 1 15 2011-08-23 Adam Klein <adamk@chromium.org> 2 16 -
trunk/Source/WebKit/chromium/src/WebWorkerClientImpl.cpp
r93330 r93654 40 40 #include "Frame.h" 41 41 #include "FrameLoaderClient.h" 42 #include "InspectorInstrumentation.h"43 42 #include "MessageEvent.h" 44 43 #include "MessagePort.h" … … 97 96 { 98 97 m_proxy->terminateWorkerContext(); 99 InspectorInstrumentation::workerContextTerminated(m_scriptExecutionContext.get(), this);100 98 } 101 99 … … 186 184 { 187 185 m_proxy->workerContextDestroyed(); 188 InspectorInstrumentation::workerContextTerminated(m_scriptExecutionContext.get(), this);189 186 } 190 187
Note: See TracChangeset
for help on using the changeset viewer.