diff options
-rw-r--r-- | WebCore/page/Geolocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/page/Geolocation.cpp b/WebCore/page/Geolocation.cpp index fd38614..ba3516d 100644 --- a/WebCore/page/Geolocation.cpp +++ b/WebCore/page/Geolocation.cpp @@ -574,7 +574,7 @@ bool Geolocation::operator==(const EventListener& listener) void Geolocation::handleEvent(ScriptExecutionContext*, Event* event) { - ASSERT_UNUSED(event, event->type() == eventTypes().unloadEvent); + ASSERT_UNUSED(event, event->type() == eventNames().unloadEvent); // Cancel any ongoing requests on page unload. This is required to release // references to JS callbacks in the page, to allow the frame to be cleaned up // by WebKit. |