Annotate Ref::ptr() with RETURNS_NONNULL
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 May 2017 23:33:30 +0000 (23:33 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 May 2017 23:33:30 +0000 (23:33 +0000)
commitaa1e785638b44cfbac4372b2d98dbee3a90a7690
tree83a24f5d9cf50e54345eef399c2587c981656ac7
parent47b289287fd2a155c0627778e470cca95d26eb39
Annotate Ref::ptr() with RETURNS_NONNULL
https://bugs.webkit.org/show_bug.cgi?id=171996

Reviewed by Andreas Kling.

Annotate Ref::ptr() with RETURNS_NONNULL as it can never return null.

* wtf/Ref.h:
(WTF::Ref::ptr): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/Ref.h