From ee4c86d1990a9e26277a6948e7027ad8d525ebfa Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 18 Oct 2012 10:55:06 +0200 Subject: Imported WebKit commit 795dcd25a9649fccaf1c9b685f6e2ffedaf7e620 (http://svn.webkit.org/repository/webkit/trunk@131718) New snapshot that includes the return of -fkeep-memory at link time to reduce memory pressure as well as modularized documentation --- Source/WebCore/html/HTMLPlugInElement.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/WebCore/html/HTMLPlugInElement.cpp') diff --git a/Source/WebCore/html/HTMLPlugInElement.cpp b/Source/WebCore/html/HTMLPlugInElement.cpp index 9947a736e..2d965624a 100644 --- a/Source/WebCore/html/HTMLPlugInElement.cpp +++ b/Source/WebCore/html/HTMLPlugInElement.cpp @@ -72,6 +72,12 @@ HTMLPlugInElement::~HTMLPlugInElement() #endif } +bool HTMLPlugInElement::canProcessDrag() const +{ + const PluginViewBase* plugin = pluginWidget() && pluginWidget()->isPluginViewBase() ? static_cast(pluginWidget()) : 0; + return plugin ? plugin->canProcessDrag() : false; +} + void HTMLPlugInElement::detach() { m_instance.clear(); -- cgit v1.2.1