DescriptionAdd assert() for scoped_refptr<T>::operator->()
This is to make NULL dereference crashes more obvious. Also matches scoped_ptr (which uses assert) and weak_ptr (which uses DCHECK).
DCHECK wasn't used because it pulls in logging.h, and that somehow conflicts with a webkit #define of LOG.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119820
Patch Set 1 #Patch Set 2 : Use assert() instead #
Total comments: 1
Messages
Total messages: 10 (0 generated)
|