Index: Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp |
diff --git a/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp b/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp |
index 213fbe7c1fbe46fb5548cd7a5560b12aa93df017..77374396c3de06bcff3d050211cf4655a6af2869 100644 |
--- a/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp |
+++ b/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp |
@@ -218,7 +218,7 @@ void ThreadableWebSocketChannelClientWrapper::resume() |
void ThreadableWebSocketChannelClientWrapper::processPendingTasksCallback(ScriptExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper) |
{ |
- ASSERT_UNUSED(context, context->isWorkerContext()); |
+ ASSERT_UNUSED(context, context->isWorkerGlobalScope()); |
wrapper->processPendingTasks(); |
} |