Index: third_party/WebKit/WebCore/editing/Editor.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/editing/Editor.cpp (revision 9383) |
+++ third_party/WebKit/WebCore/editing/Editor.cpp (working copy) |
@@ -699,7 +699,7 @@ |
ExceptionCode ec = 0; |
RefPtr<Event> evt = ClipboardEvent::create(eventType, true, true, clipboard); |
- target->dispatchEvent(evt, ec); |
+ EventTargetNodeCast(target)->dispatchEvent(evt, ec); |
bool noDefaultProcessing = evt->defaultPrevented(); |
// invalidate clipboard here for security |