Remove WTF smart pointers 'const_pointer_cast'
authormikhail.pozdnyakov@intel.com <mikhail.pozdnyakov@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 00:26:12 +0000 (00:26 +0000)
committermikhail.pozdnyakov@intel.com <mikhail.pozdnyakov@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 00:26:12 +0000 (00:26 +0000)
commit03509d41e6d005bd985f11ec9c8b403f9eac7d2e
treea9e00450b0ab12223a8bfd78fa099e5e37971bda
parentb1cd3d81e93586799a265b2619c8fb7b485ac1e2
Remove WTF smart pointers 'const_pointer_cast'
https://bugs.webkit.org/show_bug.cgi?id=122325

Reviewed by Darin Adler.

Removed WTF smart pointers 'const_pointer_cast' functions as:
- they were not used
- their implementation was wrong as they tried to cast to a different pointer type

* wtf/PassOwnPtr.h:
* wtf/PassRefPtr.h:
* wtf/RefPtr.h:

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