| 325 | } |
| 326 | |
| 327 | static void DoTask(WebDebugConnection * connection, DebugTask task) |
| 328 | { |
| 329 | // Request a screenshot from the main thread. |
| 330 | MutexLock lock(gMainThreadMutex); |
| 331 | |
| 332 | gActiveConnection = connection; |
| 333 | gDebugTask = task; |
| 334 | CondWait(gMainThreadCond, gMainThreadMutex, kTimeoutInfinity); |
| 335 | } |
| 336 | |
| 337 | static void DLDebugHandler(void * arg, WebDebugConnection * connection) |
| 338 | { |
no test coverage detected