Index: Source/core/page/DragController.cpp |
diff --git a/Source/core/page/DragController.cpp b/Source/core/page/DragController.cpp |
index a254211cf33917a69efd88df602c50bf21a1518a..c2456604ab9eb888d8fd9ebf1f8d5f0d7589d93e 100644 |
--- a/Source/core/page/DragController.cpp |
+++ b/Source/core/page/DragController.cpp |
@@ -554,7 +554,7 @@ bool DragController::canProcessDrag(DragData* dragData) |
if (dragData->containsFiles() && asFileInput(result.innerNonSharedNode())) |
return true; |
- if (result.innerNonSharedNode()->isPluginElement()) { |
+ if (isHTMLPlugInElement(*result.innerNonSharedNode())) { |
HTMLPlugInElement* plugin = toHTMLPlugInElement(result.innerNonSharedNode()); |
if (!plugin->canProcessDrag() && !result.innerNonSharedNode()->rendererIsEditable()) |
return false; |