DescriptionWTF::OwnPtr should behave similarly with the rest of WTF smart pointers
Before the change OwnPtr could take either the pointer type or the pointed-to type, which was bad for the following reasons:
- It distinguished OwnPtr behaviour from other WTF smart pointer classes behaviour (so it was confusing for the Client).
- It was potential error-prone as it actually modified the type given by the Client in opaque way.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157328
Patch Set 1 #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|