OSDN Git Service

Change eventTypes to eventNames to fix the assert.
authorPatrick Scott <phanna@android.com>
Mon, 26 Oct 2009 13:32:52 +0000 (09:32 -0400)
committerPatrick Scott <phanna@android.com>
Mon, 26 Oct 2009 13:32:52 +0000 (09:32 -0400)
WebCore/page/Geolocation.cpp

index fd38614..ba3516d 100644 (file)
@@ -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.