REGRESSION (r107568-r107627): Crash when copying in WebCore::SharedBuffer::hasPlatfor...
authorenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Feb 2012 00:35:51 +0000 (00:35 +0000)
committerenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Feb 2012 00:35:51 +0000 (00:35 +0000)
commit0e15915b8f5c4b460afc2b16b8a1f8b5e92e3821
tree16492111d075982510687cfc31ccd19f2733c3e9
parenta9cbaded8596514085e0acd0aed9aa6cd073c745
REGRESSION (r107568-r107627): Crash when copying in WebCore::SharedBuffer::hasPlatformData().
https://bugs.webkit.org/show_bug.cgi?id=78577

Reviewed by Dan Bernstein.

* platform/mac/PlatformPasteboardMac.mm:
(WebCore::PlatformPasteboard::setBufferForType): Missing null check when
setting data to the NSPasteboard.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/PlatformPasteboardMac.mm