Index: Source/modules/serviceworkers/RespondWithObserver.cpp |
diff --git a/Source/modules/serviceworkers/RespondWithObserver.cpp b/Source/modules/serviceworkers/RespondWithObserver.cpp |
index af2995de13a8595e250337ac1b2e308b7d05c1f4..a06100e18135959e5b0b3a5ca7b73957c89b2cda 100644 |
--- a/Source/modules/serviceworkers/RespondWithObserver.cpp |
+++ b/Source/modules/serviceworkers/RespondWithObserver.cpp |
@@ -62,8 +62,7 @@ PassRefPtr<RespondWithObserver> RespondWithObserver::create(ExecutionContext* co |
RespondWithObserver::~RespondWithObserver() |
{ |
- if (m_state == Pending) |
- sendResponse(nullptr); |
+ ASSERT(m_state != Pending); |
} |
void RespondWithObserver::contextDestroyed() |