Move some code used only by EventHandler from Clipboard to EventHandler
Created attachment 208995 [details] Patch
Comment on attachment 208995 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=208995&action=review r=me > Source/WebCore/page/EventHandler.cpp:2037 > +static inline bool hasFileOfType(Clipboard* clipboard, const String& type) I'd use Clipboard& here. > Source/WebCore/page/EventHandler.cpp:2047 > +static inline bool hasStringOfType(Clipboard* clipboard, const String& type) Ditto. > Source/WebCore/page/EventHandler.cpp:2052 > +static bool hasDropZoneType(Clipboard* clipboard, const String& keyword) Ditto.
Committed r154229: <http://trac.webkit.org/changeset/154229>