-
bweinstein@apple.com authored
Reviewed by Adele Peterson. Fix of <rdar://6967547> Ctrl-C copies null value erasing text in clipboard in Safari. This patch kept the way events were firing as they were before, and Windows events are consistent with Mac. * editing/Editor.cpp: (WebCore::Editor::tryDHTMLCopy): Added check for canCopy() before clearing PasteBoard (WebCore::Editor::tryDHTMLCut): Added check for canCut() before clearing PasteBoard git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
579abbb5