| Index: Source/core/events/TextEvent.h
|
| diff --git a/Source/core/events/TextEvent.h b/Source/core/events/TextEvent.h
|
| index 3a874298bb1b0db80865cf02ad8d3e43844cb421..26cf89fb6c03db84dbb61e43c6011eb882b88a08 100644
|
| --- a/Source/core/events/TextEvent.h
|
| +++ b/Source/core/events/TextEvent.h
|
| @@ -79,7 +79,7 @@ namespace WebCore {
|
|
|
| inline TextEvent* toTextEvent(Event* event)
|
| {
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!event || (event->type() == EventTypeNames::textInput && event->hasInterface(eventNames().interfaceForTextEvent)));
|
| + ASSERT_WITH_SECURITY_IMPLICATION(!event || (event->type() == EventTypeNames::textInput && event->hasInterface(EventNames::TextEvent)));
|
| return static_cast<TextEvent*>(event);
|
| }
|
|
|
|
|