Backed out changeset dc2b71e57211 (bug 928221) because it calls a non-existing GetWeakReferent function