DescriptionMake sure that scoped_ptr<> cannot be used with ref-counted objects.
It's easy to type scoped_ptr<> instead of scoped_refptr<>. Such bugs are
hard to debug sometimes. This change adds compile-time check to make sure
that scoped_ptr<> is not used for ref-counted objects.
Also fixed one (benign) instance of scoped_ptr<> being used for a
ref-counted object.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130835
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 9 (0 generated)
|