Description[Sync] Add type conversion constructor for WeakHandle
This allows the use of e.g.:
WeakHandle<T> weak_handle = MakeWeakHandle(WeakPtr<U>());
as long as U is convertible to T, instead of:
WeakHandle<T> weak_handle = WeakHandle<T>(WeakPtr<U>());
Fix all callers.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110436
Patch Set 1 #Patch Set 2 : Fix a couple more callers #Patch Set 3 : Clean up tests a bit #Messages
Total messages: 4 (0 generated)
|